Re: Use cookies from a script in a browser

2011-03-21 Thread Rafael Durán Castañeda
I think thiscould help you 2011/3/18 gervaz > On 18 Mar, 22:52, Miki Tebeka wrote: > > You can use mechanize, which holds a cookie jar and can user the browser > cookies as w

Re: Use cookies from a script in a browser

2011-03-18 Thread gervaz
On 18 Mar, 22:52, Miki Tebeka wrote: > You can use mechanize, which holds a cookie jar and can user the browser > cookies as well. I use: opener = urllib.request.build_opener(urllib.request.HTTPCookieProcessor()) urllib.request.install_opener(opener) I start scraping from http://page.com/home.ht

Re: Use cookies from a script in a browser

2011-03-18 Thread Miki Tebeka
You can use mechanize, which holds a cookie jar and can user the browser cookies as well. -- http://mail.python.org/mailman/listinfo/python-list

Use cookies from a script in a browser

2011-03-18 Thread gervaz
Hi all, I use a scraper to retrieve data from a web page. In order to do that I need to enable cookies. The data that I'm looking for is contained in a bunch of web pages. Is there a way to show this web pages in a browser using the cookies used in the script (otherwise it doesn't work). Thanks,