Skip to content

Instantly share code, notes, and snippets.

View Limbicnation's full-sized avatar
🎨
Art

Gero Doll Limbicnation

🎨
Art
View GitHub Profile
@Limbicnation
Limbicnation / download_multiple_images.py
Created August 27, 2019 14:38 — forked from svecon/download_multiple_images.py
Download multiple images using Python
import requests
def DownloadImage(pic_url_prefix, pic_name):
with open(pic_name, 'wb') as handle:
response = requests.get(pic_url_prefix+pic_name, stream=True)
if not response.ok:
print(pic_url_prefix+pic_name, response)
for block in response.iter_content(1024):
@Limbicnation
Limbicnation / download_flickr_image.py
Created August 27, 2019 13:25 — forked from yunjey/download_flickr_image.py
downloading images from flickr using python-flickr
# First, you should install flickrapi
# pip install flickrapi
import flickrapi
import urllib
from PIL import Image
# Flickr api access key
flickr=flickrapi.FlickrAPI('c6a2c45591d4973ff525042472446ca2', '202ffe6f387ce29b', cache=True)