Skip to content

Instantly share code, notes, and snippets.

View woldr001's full-sized avatar

woldr001

  • Michigan State University
  • East Lansing, MI
View GitHub Profile
@woldr001
woldr001 / ImageScrape.py
Last active September 12, 2015 21:38 — forked from crizCraig/gist:2816295
Download images from Google Image search using Python
import json
import os
import time
import requests
from PIL import Image #If PIL is unavailable, use Pillow
from StringIO import StringIO
from requests.exceptions import ConnectionError
def go(query, path):