微信扫一扫
1.反斜杠的问题:
错误示范:title = sel.xpath(’//div/h2/a text()’)
正确:title = sel.xpath(’//div/h2/a/text()’)
相关推荐