On Tue, Apr 19, 2011 at 5:48 AM, Mark Carter wrote:
> On Apr 19, 12:44 pm, Mark Carter wrote:
>
>> url and say "just use the cookie that I have in Firefox"?
>
> "mechanize" looks kinda like what I want, but i still can't get it to
> work properly. So far I have:
>
> import cookielib
> import mech
On Apr 19, 12:44 pm, Mark Carter wrote:
> url and say "just use the cookie that I have in Firefox"?
"mechanize" looks kinda like what I want, but i still can't get it to
work properly. So far I have:
import cookielib
import mechanize
cookiefile = "C:\\Users\\$ME\\AppData\\Roaming\\Mozilla\\Fir
On Tue, Apr 19, 2011 at 4:44 AM, Mark Carter wrote:
> 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 conte
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 Firef