Created
February 28, 2014 06:38
Revisions
-
nyov created this gist
Feb 28, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ class MySpider(Spider): # [...] # start requests from generator def start_requests(self): url = 'http://some.page.tld/%s/category' for page in xrange(1, 247): link = url % page yield Request(url=link)