zagoload is python package for downloading files.
zagoload supports:
- Remote files can be accessible thought HTTP and FTP protocols.
- The files can be cached locally.
Usage sample:
import zagoload
ff = zagoload.load('http://www.cnn.com')
if ff.valid:
# if valid, process ff.target is the downloaded file in the file on disk
print(ff.target)
# or process ff.text - the content of the file
print(ff.text)
See more samples at Download Files with zagoload.