From 535866d5573a23f9a5cd926cd267f0b8cac3bece Mon Sep 17 00:00:00 2001 From: UrloMythus Date: Sun, 26 Jan 2025 21:55:18 +0100 Subject: [PATCH] Fix AW --- Src/API/animeworld.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Src/API/animeworld.py b/Src/API/animeworld.py index bb46989..c88145a 100644 --- a/Src/API/animeworld.py +++ b/Src/API/animeworld.py @@ -43,6 +43,8 @@ showname_replace = { " ": " ", "Shippuuden": "Shippuden", " ": "+", + "Solo+Leveling+2": "Solo+Leveling+2:", + "-": "" } async def security_cookie (response): if "SecurityAW-gl" in response.text: @@ -149,7 +151,7 @@ async def animeworld(id,client): async def test_animeworld(): async with AsyncSession() as client: # Replace with actual id, for example 'anime_id:episode' format - test_id = "kitsu:46231:1" # This is an example ID format + test_id = "kitsu:48671:1" # This is an example ID format results = await animeworld(test_id, client) print(results)