Advertisement
Guest User

Untitled

a guest
Jan 10th, 2021
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #usage: python3 <script name> <txt file name>
  2. # RUN THIS IN A SCREEN SESSION! It could take a long time
  3.  
  4. import os
  5. import sys
  6. fileLink=open(sys.argv[1],'r')
  7. URLs=fileLink.read().split('\n')
  8. fileLink.close()
  9. failed=[]
  10. for files in URLs:
  11. print(files)
  12. os.system('wget '+files)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement