Skip to content

Instantly share code, notes, and snippets.

View epixcz's full-sized avatar

Ondřej Diok epixcz

View GitHub Profile
@epixcz
epixcz / main.py
Last active March 30, 2023 04:40 — forked from avipars/main.py
Recover files from the marvelous suspender
# script to ask user for the txt file name and then clean the URLS and save in new txt file
def main():
# ask user for the txt file name
file_name = input("Enter the txt file name: ")
parse_file(file_name)
def parse_file(file_name):
with open(file_name, "r") as file:
# read the file