How to download a web page just like a web browser do ?

Gabriel Genellina gagsl-py at yahoo.com.ar
Wed Aug 23 10:56:19 EDT 2006


At Wednesday 23/8/2006 11:34, Bo Yang wrote:

>     Everyday , I receive a newsletter from NYTimes , but I
>didn't want to read the news in evening the time the letter
>came in . So , I am about to download the web page
>contains the news and read them next morning ! I decide to
>use python to write a tool , which should be feeded with a
>URL , and then download the page to my disk . This
>function just like the Browser's "save as..." function . I
>know what shoud I do to accomplish that , I need to parse
>the web page , and download all pages in the page , and
>modify all the links to conrespond local disk links and ...

This tool already exists: wget



Gabriel Genellina
Softlab SRL 


	
	
		
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas




More information about the Python-list mailing list