Skip to content

Instantly share code, notes, and snippets.

@agusmakmun
Created January 28, 2015 10:55
Show Gist options
  • Save agusmakmun/842e7fdaec91c11434c4 to your computer and use it in GitHub Desktop.
Save agusmakmun/842e7fdaec91c11434c4 to your computer and use it in GitHub Desktop.
Simple Project Python Downloader - Simple Project ini adalah merupakan inovasi lanjutan dari Script Simple Download dengan Python
'''
Credit By : http://python.web.id
Author : Agus Makmun (Summon Agus)
Name : Python Downloader.
Powered : Python (module wget), Ubuntu 14.04.
Tanks to : Rama Patria Himawan for enumerate.
'''
import wget
inp = input(" [+] How Much files want to Download (ex:5)? ")
print " [+] Download file is: %s files" % inp
a = 0
tmp = []
while True:
if inp <= inp and inp != 0:
a += 1
inp_url = raw_input(" [+] Paste url ke %s: " %a)
tmp.append(inp_url)
if a == inp:
break
else:
print False
print " [+] Starting Download file..."
for i, e in enumerate(tmp):
print wget.download(e)
print " [+] Successfull..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment