ignore status downloading

This commit is contained in:
Antonio J. Delgado 2024-12-12 15:49:41 +02:00
parent 2c41f46ca3
commit 8bf27630c7

View file

@ -253,6 +253,8 @@ class GetYoutubeVideos:
json.dump(data, info_file, indent=2) json.dump(data, info_file, indent=2)
if 'id' in data['info_dict']: if 'id' in data['info_dict']:
self._save_downloaded_items(data['info_dict']['id']) self._save_downloaded_items(data['info_dict']['id'])
elif data['status'] == 'downloading':
downloading = True
else: else:
self._log.debug( self._log.debug(
"Progress hook got data['status']=%s instead of 'finished'", "Progress hook got data['status']=%s instead of 'finished'",