Skip to content Skip to sidebar Skip to footer

Scrapy Python Request Is Not Defined

i found an answer here: code for site in sites: Link = site.xpath('a/@href').extract() CompleteLink = urlparse.urljoin(response.url, Link) yield

Solution 1:

Short answer: from scrapy.http.request import Request

Extended answer: read the docs.

Post a Comment for "Scrapy Python Request Is Not Defined"