1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-05 02:32:44 +01:00

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

This commit is contained in:
Remita Amine 2019-11-09 11:01:07 +01:00
parent 18ca61c5e1
commit ce112a8c19

View File

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