[twitch] fix video comments URL(#18593)(closes #15828)

pull/8/head
Remita Amine 5 years ago
parent 18ca61c5e1
commit ce112a8c19

@ -344,9 +344,8 @@ class TwitchVodIE(TwitchItemBaseIE):
info['subtitles'] = { info['subtitles'] = {
'rechat': [{ 'rechat': [{
'url': update_url_query( 'url': update_url_query(
'https://rechat.twitch.tv/rechat-messages', { 'https://api.twitch.tv/v5/videos/%s/comments' % item_id, {
'video_id': 'v%s' % item_id, 'client_id': self._CLIENT_ID,
'start': info['timestamp'],
}), }),
'ext': 'json', 'ext': 'json',
}], }],

Loading…
Cancel
Save