Skip to content

Instantly share code, notes, and snippets.

@shaneshifflett
Created August 21, 2017 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shaneshifflett/f265d2c3a77b53b2f5736226b171ec6b to your computer and use it in GitHub Desktop.
Save shaneshifflett/f265d2c3a77b53b2f5736226b171ec6b to your computer and use it in GitHub Desktop.
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