From 8bf27630c7357bd7d92d31107aebb2824d96eb2f Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Thu, 12 Dec 2024 15:49:41 +0200 Subject: [PATCH] ignore status downloading --- get_youtube_videos/get_youtube_videos.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/get_youtube_videos/get_youtube_videos.py b/get_youtube_videos/get_youtube_videos.py index 4aac678..5a1413d 100644 --- a/get_youtube_videos/get_youtube_videos.py +++ b/get_youtube_videos/get_youtube_videos.py @@ -253,6 +253,8 @@ class GetYoutubeVideos: json.dump(data, info_file, indent=2) if 'id' in data['info_dict']: self._save_downloaded_items(data['info_dict']['id']) + elif data['status'] == 'downloading': + downloading = True else: self._log.debug( "Progress hook got data['status']=%s instead of 'finished'",