mirror of https://github.com/scrapy/scrapy.git
Merge pull request #2041 from scrapy/backport-1.1-pr2015
[backport][1.1] Use "url" variable in the example (PR #2015)
This commit is contained in:
commit
a04dbca22d
|
|
@ -200,7 +200,7 @@ There is support for keeping multiple cookie sessions per spider by using the
|
|||
For example::
|
||||
|
||||
for i, url in enumerate(urls):
|
||||
yield scrapy.Request("http://www.example.com", meta={'cookiejar': i},
|
||||
yield scrapy.Request(url, meta={'cookiejar': i},
|
||||
callback=self.parse_page)
|
||||
|
||||
Keep in mind that the :reqmeta:`cookiejar` meta key is not "sticky". You need to keep
|
||||
|
|
|
|||
Loading…
Reference in New Issue