Skip to content

Instantly share code, notes, and snippets.

@DastanIqbal
Created April 19, 2018 15:06
Show Gist options
  • Save DastanIqbal/802a238735bd2b42bc9b93c9ff5651d0 to your computer and use it in GitHub Desktop.
Save DastanIqbal/802a238735bd2b42bc9b93c9ff5651d0 to your computer and use it in GitHub Desktop.
import urllib
for x in range(1,84):
y=(x+36000)
filename="0%d.mp3" % (y)
z="https://www.website.com/path/%s" % (filename)
print z
urllib.urlretrieve(z,filename)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment