From 2c97ccb8352bd2b4f944edcb6ebba3f24d9db97a Mon Sep 17 00:00:00 2001 From: Fede14 Date: Tue, 27 Feb 2024 09:51:40 +0100 Subject: [PATCH] fix if download all season --- Src/Api/tv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Api/tv.py b/Src/Api/tv.py index fb9c2b0..d0e3111 100644 --- a/Src/Api/tv.py +++ b/Src/Api/tv.py @@ -195,7 +195,7 @@ def main_dw_tv(tv_id, tv_name, version, domain): else: console.print("[red]Wrong index for season") 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) for ep in eps: dw_single_ep(tv_id, eps, int(ep['n'])-1, domain, token, tv_name, n_season)