Update main.py

This commit is contained in:
TylerCG 2025-05-12 18:01:40 -04:00
parent b6b76cd9d3
commit e62ea66bb1

View File

@ -106,7 +106,7 @@ async def get_show_data(show: str):
await dropoutUpdate()
for item in cached_data:
if show == item['LINK']:
if show == item["SHOW"] or show == item["LINK"]:
if "SEASONS" not in item:
item['SEASONS'] = download.grab.season(item['URL'])
return item