parent
d37707bda4
commit
6a5a30f9e2
1 changed files with 1 additions and 0 deletions
|
@ -3211,6 +3211,7 @@ class YoutubeDL(object):
|
||||||
if info_dict is None:
|
if info_dict is None:
|
||||||
return info_dict
|
return info_dict
|
||||||
info_dict.setdefault('epoch', int(time.time()))
|
info_dict.setdefault('epoch', int(time.time()))
|
||||||
|
info_dict.setdefault('_type', 'video')
|
||||||
remove_keys = {'__original_infodict'} # Always remove this since this may contain a copy of the entire dict
|
remove_keys = {'__original_infodict'} # Always remove this since this may contain a copy of the entire dict
|
||||||
keep_keys = ['_type'] # Always keep this to facilitate load-info-json
|
keep_keys = ['_type'] # Always keep this to facilitate load-info-json
|
||||||
if remove_private_keys:
|
if remove_private_keys:
|
||||||
|
|
Loading…
Reference in a new issue