Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import re
- urls_file = "TEMPEK.txt"
- urls = [line.rstrip('\n') for line in open(urls_file)]
- regex = r"(?<=\,\").*?(?=\")"
- matches = re.finditer(regex, line, re.MULTILINE)
- print("OK COK")
- for matchNum, match in enumerate(matches, start=1):
- open('JEMBOOT.txt', 'a').write(match.group()+ '\n')
Advertisement
Add Comment
Please, Sign In to add comment