Gabriel Genellina wrote: > En Fri, 07 Dec 2007 17:58:43 -0300, yi zhang <[EMAIL PROTECTED]> > escribió: > >> The urllib.urlretrieve() can only download the text part of a webpage, >> not the image associated. How can I download the whole, complete >> webpage with python? Thanks! > > The images are separate from the html document. You have to parse the > html text, find the <img> tags, and retrieve them. > Actually IMHO this is even more difficult than it sounds. Javascript can change the webpage after it loads.
Larry -- http://mail.python.org/mailman/listinfo/python-list