This commit is contained in:
UrloMythus
2025-01-26 21:55:18 +01:00 Unverified
parent 4abc2567fd
commit 535866d557
+3 -1
View File
@@ -43,6 +43,8 @@ showname_replace = {
" ": " ", " ": " ",
"Shippuuden": "Shippuden", "Shippuuden": "Shippuden",
" ": "+", " ": "+",
"Solo+Leveling+2": "Solo+Leveling+2:",
"-": ""
} }
async def security_cookie (response): async def security_cookie (response):
if "SecurityAW-gl" in response.text: if "SecurityAW-gl" in response.text:
@@ -149,7 +151,7 @@ async def animeworld(id,client):
async def test_animeworld(): async def test_animeworld():
async with AsyncSession() as client: async with AsyncSession() as client:
# Replace with actual id, for example 'anime_id:episode' format # 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) results = await animeworld(test_id, client)
print(results) print(results)