From 662a54005b3be30bf426c458f5491f9b5b576838 Mon Sep 17 00:00:00 2001 From: xAmarnath <75058759+xAmarnath@users.noreply.github.com> Date: Sun, 5 May 2024 14:00:00 +0530 Subject: [PATCH] Refactor custdl.py to use dynamic URL for series metadata retrieval --- modules/custdl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/custdl.py b/modules/custdl.py index a8c365d..53e6411 100644 --- a/modules/custdl.py +++ b/modules/custdl.py @@ -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.")