scrapy未自动初始化sel
小甲鱼零基础学python第63课 用scrapy爬取信息, 在提取数据步骤时试用sel.xpath之后提示NameError: name 'sel' is not defined>>> sel.xpath('//ul/li')
Traceback (most recent call last):
File "<console>", line 1, in <module>
NameError: name 'sel' is not defined 代码不全,你单独拿这么一句,自然错误
页:
[1]