只需要将
for href in response.xpath('XX').extract(): yield Request(hrefs)
修改为下面,就可以显示出来
for href in response.xpath('XX').extract(): hrefs = response.urljoin(href) yield Request(hrefs)
感谢这个
找了很久。
只需要将
for href in response.xpath('XX').extract(): yield Request(hrefs)
修改为下面,就可以显示出来
for href in response.xpath('XX').extract(): hrefs = response.urljoin(href) yield Request(hrefs)
感谢这个
找了很久。
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。