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 minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping-- 
http://mail.python.org/mailman/listinfo/python-list

assemble a webpage!

2007-12-14 Thread yi zhang
Hi, Guys,

Now I am able to use urlretrieve to download the text part of a webpage and 
wget to get the embedded image. Thanks for the tips!
but how can I assemble them together so the image can be displayed in the 
webpage automatically once I click on the .html file. 
Right now I only saw the text part of the webpage when I click on it, even I 
put the .html file and image file in the same directory. 
Any script can do this job?

Yi 




  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
-- 
http://mail.python.org/mailman/listinfo/python-list