Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. with open('0day.txt') as f:
  2. for line in f:
  3. url = line.split(" ")[1]
  4. domains = url.split("/")
  5. domain = domains[0]+"//"+domains[2]
  6. f = open("saved.txt","a")
  7. f.write(domain+'\n')
  8. f.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement