Saving a picture contained in a web page to disk
jdhunter at ace.bsd.uchicago.edu
Thu Nov 27 15:14:33 CET 2003
>>>>> "Y2KYZFR1" == Y2KYZFR1 <jarrodhroberson at yahoo.com> writes:
>> > Unfortunately the image is dynamic, so the url is actually a
>> query > which looks like
>> > rather than the standard
If the query is dynamic, you may need to sniff the HTTP headers to
find out what is going on behind the scenes. Mozilla Firebird has a
'Live HTTP Headers' addon module that lets you captue and save the
headers as you browse. You can then sort through them, find out what
is going on, and use the httplib module to code it in python.
Not easy, but doable.
More information about the Python-list