Anyone into win32com IE, fetching a picture..

dsavitsk dsavitsk at e-coli.net
Wed Apr 17 10:47:22 EDT 2002


it's a lame question, so here's a lame answer ... ;-)

i saw a post addressing how to do this on comp.lang.visual.basic.misc at
some point.

-d


"Andrew Markebo" <flognat at flognat.myip.org> wrote in message
news:m38z7mv6rd.fsf at flognat.myip.org...
> Hello!
>
> Sorry for asking probably a more windows-like question here, than on
> windows group.. but this is my home.. my.. well you know..
>
> Basically I am using win32com and InternetExplorer to fetch pages, and
> I would also like to fetch the pr0n^H^H^H^H ehm.. snake pictures, yeah
> snake pictures from the pages and store them..
>
> ie = win32com.client.Dispatch('InternetExplorer.Application')
> ie.Navigate(url)
> doc = ie.Document
> while doc.readyState != 'complete': time.sleep(0.1)
>
> Well now doc contains a bunch of info about the stuff in the url, if
> the url was an image, I can get the size, name and so on, but I
> haven't managed to get my hands on the data-part of the image.. Any
> hints??
>
> Yeah I know.. go urllib2 or similar.. but but.. now (using win32com) I
> have cookies, https and so on working good out of the box..
>
> Anyone who recognizes??
>
> Anyone who have a good http/url library that can handle this?
>
>         /Andy
>
> --
>  The eye of the beholder rests on the beauty!





More information about the Python-list mailing list