Looking for a urllib(2) cookie handler

Mark Carter alt.mcarter at gmail.com
Tue Apr 19 07:44:49 EDT 2011


I'm in python 2.6.5, and have Firefox 3.6.13. I would like to download
some html from a site and scrape it programatically. The site requires
a cookie, which I have in Firefox.

Is there a simple python recipe I can use to read the contents of a
url and say "just use the cookie that I have in Firefox"?



More information about the Python-list mailing list