Re: download complete webpage with python

2007-12-08 Thread Gabriel Genellina
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.

Re: download complete webpage with python

2007-12-08 Thread Larry Bates
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

Re: download complete webpage with python

2007-12-08 Thread James Matthews
from urllib import urlopen url = urlopen(http://www.google.com;).read() Enjoy! On 12/8/07, Larry Bates [EMAIL PROTECTED] wrote: 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

download complete webpage with python

2007-12-07 Thread yi zhang
Dear all, 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! Yi Looking for last