Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with open('0day.txt') as f:
- for line in f:
- url = line.split(" ")[1]
- domains = url.split("/")
- domain = domains[0]+"//"+domains[2]
- f = open("saved.txt","a")
- f.write(domain+'\n')
- f.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement