Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
hackers_reading_downloader.py
import urllib
import base64
url = 'aHR0cDovL3d3dy5jaGFtcHN0dWR5LmNvbS8/cj1jaGFtcHN0dWR5Jm09bXlwYWdlJmE9ZG93biZmbmFtZT03MTI2L3dyaXRlLw=='
url = base64.b64decode(url)
for x in xrange(40):
dd = url + str(x) + ".pdf"
print(dd)
urllib.urlretrieve(dd, "C:\\Users\\Administrator\\Desktop\\test\\down\\" + str(x) + ".pdf")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.