mirror of https://github.com/scrapy/scrapy.git
fixed bug in new cookiejar documentation
This commit is contained in:
parent
26c8004125
commit
81abb45000
|
|
@ -192,7 +192,8 @@ There is support for keeping multiple cookie sessions per spider by using the
|
|||
For example::
|
||||
|
||||
for i, url in enumerate(urls):
|
||||
return Request("http://www.example.com", meta={'cookiejar': i})
|
||||
yield Request("http://www.example.com", meta={'cookiejar': i},
|
||||
callback=self.parse_page)
|
||||
|
||||
.. setting:: COOKIES_ENABLED
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue