Skip to content

Commit

Permalink
Update DOWNLOAD_FILE.py
Browse files Browse the repository at this point in the history
  • Loading branch information
coopeeo authored Apr 3, 2024
1 parent b2e9cb8 commit 5ec0887
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/DOWNLOAD_FILE.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5ec0887

Please sign in to comment.