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
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
cookpad
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published