Python download a image (or a file)
http://stackoverflow.com/questions/13137817/how-to-download-image-using-requests
import shutil import requests url = 'http://example.com/img.png' response = requests.get(url, stream=True) with open('img.png', 'wb') as out_file: shutil.copyfileobj(response.raw, out_file) del response