From 02dc126f42e5272a6cc1bd6db6e5684cf8f5d079 Mon Sep 17 00:00:00 2001 From: Urlo30 <91965455+UrloMythus@users.noreply.github.com> Date: Sat, 17 Aug 2024 14:09:16 +0200 Subject: [PATCH] Update streamingcommunity.py --- streamingcommunity.py | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/streamingcommunity.py b/streamingcommunity.py index decd288..427c5fe 100644 --- a/streamingcommunity.py +++ b/streamingcommunity.py @@ -54,23 +54,16 @@ def search(query,date,ismovie): #Added a Check to see if the result is what it is supposed to be if SC_FAST_SEARCH == "0": if ismovie == 0: - seasons_count = item['seasons_count'] - #Do not ask me why but somewhy streaming community call the first air date the last air date - first_air_date = item['last_air_date'] - if first_air_date: - first_air_year = first_air_date.split("-")[0] - if first_air_year == date: - return tid,slug - else: - response = requests.get ( f'https://streamingcommunity.boston/titles/{tid}-{slug}') - pattern = r'