An open API service indexing awesome lists of open source software.

https://github.com/rggh/scrapy12

cookpad
https://github.com/rggh/scrapy12

cookpad infinite-scroll scrapy-spider

Last synced: about 1 year ago
JSON representation

cookpad

Awesome Lists containing this project

README

          

# Scrapy12

## Scrapy : cookpad.com/uk

### Infinite scroll pagination with a twist

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)


cookpad