En Thu, 30 Jul 2009 13:31:33 -0300, KB escribió:
On Jul 30, 9:23 am, "Diez B. Roggisch" wrote:
KB wrote:
> From the HTTPCookieProcessor doco, it appears that non-IE browsers
> have a cookie file (and example code) but from what I can tell IE uses
> a hidden folder. (you can set your location
Winner, winner, chicken dinner... resolved.
http://wwwsearch.sourceforge.net/mechanize/doc.html
import mechanize
cj = mechanize.MSIECookieJar(delayload=True)
cj.load_from_registry() # finds cookie index file from registry
Thanks Mr Lee!
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 30, 9:23 am, "Diez B. Roggisch" wrote:
> KB wrote:
>
> >> What does you full example look like, including the
> >> cookie-acquisition-stuff?
>
> >> Diez
>
> > I ran them seperately, hoping for a clue as to what my "cookiejar"
> > was.
>
> > The cookie-acquisition stuff returns "screener.ash
KB wrote:
>
>> What does you full example look like, including the
>> cookie-acquisition-stuff?
>>
>> Diez
>
> I ran them seperately, hoping for a clue as to what my "cookiejar"
> was.
>
> The cookie-acquisition stuff returns "screener.ashx?v=151" when I
> search with my domain I am interested
> What does you full example look like, including the
> cookie-acquisition-stuff?
>
> Diez
I ran them seperately, hoping for a clue as to what my "cookiejar"
was.
The cookie-acquisition stuff returns "screener.ashx?v=151" when I
search with my domain I am interested in. I have tried
urllib2.HTTP
KB wrote:
>
>> > Using:http://code.activestate.com/recipes/80443/
>>
>
> Thanks for the prompt reply, Diez! Using the above I have found the
> name of the cookie (I did google how to use IE cookies in python and
> that was the best match) but it only tells me the name of the cookie,
> not how to
> > Using:http://code.activestate.com/recipes/80443/
>
Thanks for the prompt reply, Diez! Using the above I have found the
name of the cookie (I did google how to use IE cookies in python and
that was the best match) but it only tells me the name of the cookie,
not how to use it.
Any clues?
TIA
KB wrote:
> Hi there,
>
> Relevant versions: Python 2.5, Vista Home, IE7
>
> I am trying to scrape a website I have browsed manually in the past,
> and also manually selected my options, and now want python to use my
> existing cookie from the manual browse when downloading data.
>
> Using: htt
Hi there,
Relevant versions: Python 2.5, Vista Home, IE7
I am trying to scrape a website I have browsed manually in the past,
and also manually selected my options, and now want python to use my
existing cookie from the manual browse when downloading data.
Using: http://code.activestate.com/reci