diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-03-24 00:34:33 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-03-24 00:34:33 +0530 |
commit | 394dcd448646fdaebda38b83fddcfbe6f62ded31 (patch) | |
tree | bc2c0c7aa527a6b31f9b0021b19c0ed7f6c2e694 /yt_dlp/extractor/youtube.py | |
parent | 83b20a970d9f3401eaab6f520d099b599f250d5d (diff) | |
download | hypervideo-pre-394dcd448646fdaebda38b83fddcfbe6f62ded31.tar.lz hypervideo-pre-394dcd448646fdaebda38b83fddcfbe6f62ded31.tar.xz hypervideo-pre-394dcd448646fdaebda38b83fddcfbe6f62ded31.zip |
Write current epoch to infojson when using `--no-clean-infojson`
Closes #191
Diffstat (limited to 'yt_dlp/extractor/youtube.py')
-rw-r--r-- | yt_dlp/extractor/youtube.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py index 57300114d..620aab446 100644 --- a/yt_dlp/extractor/youtube.py +++ b/yt_dlp/extractor/youtube.py @@ -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', |