Last active
November 25, 2017 15:56
-
-
Save Bandd-k/26af0a84864d7411702f1a7739a8e7e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import shutil | |
import urllib3 | |
import csv | |
base_url = "http://warashi-asian-pornstars.fr" | |
def downloadImage(url,imgName="img.jpg"): | |
r = requests.get(url, stream=True) | |
with open(imgName, 'wb') as f: | |
r.raw.decode_content = True | |
shutil.copyfileobj(r.raw, f) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment