diff --git a/.github/DOWNLOAD_FILE.py b/.github/DOWNLOAD_FILE.py index 525a53a..9797dc5 100644 --- a/.github/DOWNLOAD_FILE.py +++ b/.github/DOWNLOAD_FILE.py @@ -32,9 +32,10 @@ def save(folderName): print(match) time.sleep(2) if match: + matchfound = match.group(1) + click_url = matchfound[(matchfound.find("(") + 1):-1] urllib.request.urlretrieve(click_url, 'test/' + 'yessir' + '.zip') folderName = "yessir" - matchfound = match.group(1) print(matchfound) save(folderName) else: