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'",