Write current epoch to infojson when using --no-clean-infojson

Closes #191
This commit is contained in:
pukkandan
2021-03-24 00:34:33 +05:30
parent 83b20a970d
commit 394dcd4486
2 changed files with 2 additions and 1 deletions

View File

@@ -2150,7 +2150,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
# This will error if there is no livechat
initial_data['contents']['twoColumnWatchNextResults']['conversationBar']['liveChatRenderer']['continuations'][0]['reloadContinuationData']['continuation']
info['subtitles']['live_chat'] = [{
'url': 'https://www.youtube.com/watch?v=%s' % video_id, # url is needed to set cookies
'url': 'https://www.youtube.com/watch?v=%s' % video_id, # url is needed to set cookies
'video_id': video_id,
'ext': 'json',
'protocol': 'youtube_live_chat_replay',