Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #usage: python3 <script name> <txt file name>
- # RUN THIS IN A SCREEN SESSION! It could take a long time
- import os
- import sys
- fileLink=open(sys.argv[1],'r')
- URLs=fileLink.read().split('\n')
- fileLink.close()
- failed=[]
- for files in URLs:
- print(files)
- os.system('wget '+files)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement