Update main.py
This commit is contained in:
parent
b6b76cd9d3
commit
e62ea66bb1
@ -106,7 +106,7 @@ async def get_show_data(show: str):
|
|||||||
await dropoutUpdate()
|
await dropoutUpdate()
|
||||||
|
|
||||||
for item in cached_data:
|
for item in cached_data:
|
||||||
if show == item['LINK']:
|
if show == item["SHOW"] or show == item["LINK"]:
|
||||||
if "SEASONS" not in item:
|
if "SEASONS" not in item:
|
||||||
item['SEASONS'] = download.grab.season(item['URL'])
|
item['SEASONS'] = download.grab.season(item['URL'])
|
||||||
return item
|
return item
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user