ignore status downloading
This commit is contained in:
parent
2c41f46ca3
commit
8bf27630c7
1 changed files with 2 additions and 0 deletions
|
@ -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'",
|
||||||
|
|
Loading…
Reference in a new issue