if response.xpath("//a/@rel='next\'").get() == "1":
print("GET Next Page")
next_page = response.xpath('//a[@rel="next"]/@href').get()
yield response.follow(url=next_page,callback=self.parse)
-
Notifications
You must be signed in to change notification settings - Fork 0
RGGH/Scrapy12
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|