Skip to content

Instantly share code, notes, and snippets.

@neotheicebird
Created April 4, 2016 18:13
Show Gist options
  • Save neotheicebird/c1f3aad61836967584fe44eb1ad96142 to your computer and use it in GitHub Desktop.
Save neotheicebird/c1f3aad61836967584fe44eb1ad96142 to your computer and use it in GitHub Desktop.
import requests
url = "http://www.matthewzeiler.com/pubs/arxive2013/eccv2014.pdf"
r = requests.get(url)
pdffile = r.url.split('/')[-1]
with open(pdffile, 'wb') as pdf:
pdf.write(r.content)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment