Skip to content

Commit

Permalink
Refactor custdl.py to use dynamic URL for series metadata retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
xAmarnath committed May 5, 2024
1 parent d5ed1eb commit 662a540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/custdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ async def series_x(e):
except KeyError:
return await e.edit("Series not found.")

metadata = await get_series_info(series_id, client)
metadata = await get_series_info("/{}/x-{}".format(series.get("category").lower(), series_id), client)
if not metadata:
return await e.edit("Failed to get metadata.")

Expand Down

0 comments on commit 662a540

Please sign in to comment.