mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 12:01:28 +00:00
Write current epoch to infojson when using --no-clean-infojson
Closes #191
This commit is contained in:
parent
83b20a970d
commit
394dcd4486
|
@ -2539,6 +2539,7 @@ def download_with_info_file(self, info_filename):
|
|||
@staticmethod
|
||||
def filter_requested_info(info_dict, actually_filter=True):
|
||||
if not actually_filter:
|
||||
info_dict['epoch'] = int(time.time())
|
||||
return info_dict
|
||||
exceptions = {
|
||||
'remove': ['requested_formats', 'requested_subtitles', 'filepath', 'entries'],
|
||||
|
|
Loading…
Reference in a new issue