[6975] in www-talk@info.cern.ch
Re: URL return
daemon@ATHENA.MIT.EDU (Steven D. Majewski)
Sat Dec 10 15:41:39 1994
Date: Sat, 10 Dec 1994 21:19:19 +0100
Errors-To: listmaster@www0.cern.ch
Reply-To: sdm7g@virginia.edu
From: "Steven D. Majewski" <sdm7g@virginia.edu>
To: Multiple recipients of list <www-talk@www0.cern.ch>
.. and with Python, you can use 'urllib'
python /usr/local/lib/python/urllib.py [ and one or more url's ]
will write the sources to stdout.
Or use the functions in urllib to fetch them and do something
else with them, like parse and fetch other referenced url's ( and
keep the ones already fetched in a dictionary, so you can check if
you've already retrieved it. )
---| Steven D. Majewski (804-982-0831) <sdm7g@Virginia.EDU> |---
---| Computer Systems Engineer University of Virginia |---
---| Department of Molecular Physiology and Biological Physics |---
---| Box 449 Health Science Center Charlottesville,VA 22908 |---