Created
August 21, 2017 14:19
-
-
Save shaneshifflett/f265d2c3a77b53b2f5736226b171ec6b 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 | |
urls = []#list of urls to scrape | |
for link in urls: | |
response = requests.get(link) | |
with open('pdfs/'+link+'.pdf', 'w') as f: | |
f.write(response.content) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment