mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-07 20:15:24 +00:00
fix if download all season
This commit is contained in:
parent
45800638af
commit
2c97ccb835
@ -195,7 +195,7 @@ def main_dw_tv(tv_id, tv_name, version, domain):
|
|||||||
else:
|
else:
|
||||||
console.print("[red]Wrong index for season")
|
console.print("[red]Wrong index for season")
|
||||||
else:
|
else:
|
||||||
for n_season in range(1, num_season_find):
|
for n_season in range(1, num_season_find+1):
|
||||||
eps = get_info_season(tv_id, tv_name, domain, version, token, n_season)
|
eps = get_info_season(tv_id, tv_name, domain, version, token, n_season)
|
||||||
for ep in eps:
|
for ep in eps:
|
||||||
dw_single_ep(tv_id, eps, int(ep['n'])-1, domain, token, tv_name, n_season)
|
dw_single_ep(tv_id, eps, int(ep['n'])-1, domain, token, tv_name, n_season)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user