Skip to content

Commit

Permalink
[twitch] fix video comments URL(#18593)(closes #15828)
Browse files Browse the repository at this point in the history
  • Loading branch information
remitamine committed Nov 9, 2019
1 parent 18ca61c commit ce112a8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions youtube_dl/extractor/twitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}],
Expand Down

0 comments on commit ce112a8

Please sign in to comment.