Quote of the Week!

Management and IT there might well be clueless but I am new there and don't want to say that yet.
That is the smartest thing I have read all week. :)

Grabbing URL:s with style

urlgrabber is a fairly nice Python package for grabbing URL:s. The documentation is kind of sparse, but reading the source is easy enough.

Here is a simple example:

from urlgrabber.grabber import URLGrabber
from urlgrabber.progress import TextMeter
    
grabber = URLGrabber(progress_obj = TextMeter())
grabber.urlgrab('http://www.python.org/ftp/python/2.5.1/Python-2.5.1.tar.bz2')

Bloggarkiv