Skip to content

Commit

Permalink
Fixed making pure Mega link
Browse files Browse the repository at this point in the history
URL would not contain key found after #
  • Loading branch information
Casvt committed Dec 10, 2024
1 parent 284e86b commit 9fe8450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/implementations/getcomics.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ async def __purify_link(
r = await session.get(link)
if not r.ok:
raise LinkBroken(BlocklistReason.LINK_BROKEN)
url = str(r.url)
url = str(r.real_url)
content_type = r.headers.getone("Content-Type", "")

if source == GCDownloadSource.MEGA:
Expand Down

0 comments on commit 9fe8450

Please sign in to comment.