Skip to content

Commit

Permalink
Merge pull request #1728 from pachax001/master
Browse files Browse the repository at this point in the history
Krakenfiles download fix
  • Loading branch information
anasty17 authored Jun 11, 2024
2 parents c6e2268 + beb2abf commit d63cded
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ def krakenfiles(url):
raise DirectDownloadLinkException(f"ERROR: {e.__class__.__name__}") from e
html = HTML(_res.text)
if post_url := html.xpath('//form[@id="dl-form"]/@action'):
post_url = f"https:{post_url[0]}"
post_url = f"https://krakenfiles.com{post_url[0]}"
else:
raise DirectDownloadLinkException("ERROR: Unable to find post link.")
if token := html.xpath('//input[@id="dl-token"]/@value'):
Expand Down

0 comments on commit d63cded

Please sign in to comment.