Archive

Posts Tagged ‘wget’

painless download with the wget module

December 15, 2013 Leave a comment

Problem
You want to download something to your local machine.

Solution
You can use the wget module for this purpose:

import wget

wget.download(url)

It cannot be any simpler. You can find wget on PyPi. Installation via pip.

Note that the module uses urllib.urlretrieve for downloading, not wget.

Categories: python Tags: ,

Download cookie-protected webpages

September 16, 2011 Leave a comment
Categories: python Tags: , , ,
Design a site like this with WordPress.com
Get started