fixed bug in new cookiejar documentation

This commit is contained in:
Pablo Hoffman 2012-02-28 11:08:25 -02:00
parent 26c8004125
commit 81abb45000
1 changed files with 2 additions and 1 deletions

View File

@ -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