download image from url
import requests img_data = requests.get(image_url).content with open('image_name.jpg', 'wb') as handler: handler.write(img_data)
Source: stackoverflow.com
download images from url terminal
$ wget https://www.python.org/static/apple-touch-icon-144x144-precomposed.png $ ls . .. apple-touch-icon-144x144-precomposed.png
Source: stackoverflow.com