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