From 2a7bfd934ebdfd8eb32f1f6bae8661547c020bde Mon Sep 17 00:00:00 2001 From: YourKalamity <63474858+YourKalamity@users.noreply.github.com> Date: Tue, 9 Feb 2021 12:11:56 +0000 Subject: [PATCH] Fix failing unlaunch link --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index a76e054..728b5a4 100644 --- a/main.py +++ b/main.py @@ -43,7 +43,8 @@ def downloadFile(link, destination): downloadLocation = destination + fileName open(downloadLocation, 'wb').write(r.content) return downloadLocation - except ConnectionError: + except ConnectionError as e: + print(e) print("File not available, skipping...") return None @@ -243,14 +244,13 @@ def start(): if unlaunchNeeded == 1 : #Download Unlaunch - url = "https://problemkaputt.de/unlaunch.zip" + url = "https://web.archive.org/web/20210207235625if_/https://problemkaputt.de/unlaunch.zip" outputbox("Downloading Unlaunch\n") unlaunchLocation = downloadFile(url, cwdtemp) if unlaunchLocation != None: print("Unlaunch Downloaded") outputbox("Unlaunch Downloaded\n") lineCounter = lineCounter + 1 - #Extract Unlaunch unzipper(unlaunchLocation,directory)