From 10a4607f36568d43cd2df4c72d6b60eaca3e4603 Mon Sep 17 00:00:00 2001 From: Urlo30 <91965455+UrloMythus@users.noreply.github.com> Date: Thu, 29 Aug 2024 16:27:55 +0200 Subject: [PATCH 1/3] Update streamingcommunity.py --- streamingcommunity.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/streamingcommunity.py b/streamingcommunity.py index dee65ae..d8338ec 100644 --- a/streamingcommunity.py +++ b/streamingcommunity.py @@ -63,6 +63,7 @@ async def search(query,date,ismovie, client): date = int(date) first_air_year = int(first_air_year) if first_air_year == date: + print("OH YEAH",first_air_year,date) return tid,slug elif ismovie == 1: return tid,slug @@ -216,4 +217,4 @@ async def streaming_community(imdb,client): return url,url720,quality except Exception as e: print("StreamingCommunity failed") - return None,None,None \ No newline at end of file + return None,None,None From 22cedaf4895f76d8d2bb900a82c03d951220c420 Mon Sep 17 00:00:00 2001 From: Urlo30 <91965455+UrloMythus@users.noreply.github.com> Date: Thu, 29 Aug 2024 16:36:56 +0200 Subject: [PATCH 2/3] Update streamingcommunity.py --- streamingcommunity.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/streamingcommunity.py b/streamingcommunity.py index d8338ec..1ad6b31 100644 --- a/streamingcommunity.py +++ b/streamingcommunity.py @@ -202,7 +202,9 @@ async def streaming_community(imdb,client): showname = showname.replace(" ", "+").replace("–", "+").replace("—","+") query = f'https://streamingcommunity.{SC_DOMAIN}/api/search?q={showname}' + print(query) tid,slug = await search(query,date,ismovie,client) + print(tid,slug) version = await get_version(client) if ismovie == 1: #TID means temporaly ID From 8928b08e9a8905fb05309d9fec89eb2961b2551f Mon Sep 17 00:00:00 2001 From: Urlo30 <91965455+UrloMythus@users.noreply.github.com> Date: Thu, 29 Aug 2024 17:29:15 +0200 Subject: [PATCH 3/3] Update streamingcommunity.py --- streamingcommunity.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/streamingcommunity.py b/streamingcommunity.py index 1ad6b31..eb2b95a 100644 --- a/streamingcommunity.py +++ b/streamingcommunity.py @@ -63,7 +63,6 @@ async def search(query,date,ismovie, client): date = int(date) first_air_year = int(first_air_year) if first_air_year == date: - print("OH YEAH",first_air_year,date) return tid,slug elif ismovie == 1: return tid,slug @@ -202,9 +201,7 @@ async def streaming_community(imdb,client): showname = showname.replace(" ", "+").replace("–", "+").replace("—","+") query = f'https://streamingcommunity.{SC_DOMAIN}/api/search?q={showname}' - print(query) tid,slug = await search(query,date,ismovie,client) - print(tid,slug) version = await get_version(client) if ismovie == 1: #TID means temporaly ID