Update download.py
This commit is contained in:
parent
47790273a0
commit
20bc40ddd7
@ -156,8 +156,9 @@ class dropout():
|
||||
|
||||
|
||||
def show(show, season, specials=False, episode_start=None):
|
||||
season_str = f"{int(season):02}" if not specials else "00"
|
||||
directory = f"/tv/{show}/{'Specials' if specials else f'Season {season}'}"
|
||||
server_season = int(season) - 2 if show == "Dimension 20" and int(season) > 30 else int(season)
|
||||
season_str = f"{server_season:02}" if not specials else "00"
|
||||
directory = f"/tv/{show}/{'Specials' if specials else f'Season {server_season}'}"
|
||||
os.makedirs(directory, exist_ok=True)
|
||||
|
||||
with open('/data/dropout.json', 'r') as json_file:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user