From 23f402e6c1eec603ab995a3da83cb6313d9ebf9f Mon Sep 17 00:00:00 2001 From: UrloMythus Date: Tue, 18 Feb 2025 21:01:01 +0100 Subject: [PATCH] Fixed error for when no results are found --- Src/API/streamingcommunity.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Src/API/streamingcommunity.py b/Src/API/streamingcommunity.py index 3ea0ba7..c7a2233 100644 --- a/Src/API/streamingcommunity.py +++ b/Src/API/streamingcommunity.py @@ -332,10 +332,11 @@ async def streaming_community(imdb,client,SC_FAST_SEARCH,MFP): episode_id = await get_season_episode_id(tid,slug,season,episode,version,client) url,quality = await get_episode_link(episode_id,tid,version,client,MFP) print("MammaMia found results for StreamingCommunity") + print("OK") return url,quality,slug except Exception as e: print("MammaMia: StreamingCommunity failed",e) - return None,None,None,None + return None,None,None async def test_animeworld(): from curl_cffi.requests import AsyncSession