projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18ca61c
)
[twitch] fix video comments URL(#18593)(closes #15828)
author
Remita Amine
<remitamine@gmail.com>
Sat, 9 Nov 2019 10:01:07 +0000
(11:01 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Sat, 9 Nov 2019 10:01:07 +0000
(11:01 +0100)
youtube_dl/extractor/twitch.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/twitch.py
b/youtube_dl/extractor/twitch.py
index a5681409c368662aa0939c12979c91cca2836c26..8c0d70010a1a3d3b746b4ec846611d4ac6755210 100644
(file)
--- a/
youtube_dl/extractor/twitch.py
+++ b/
youtube_dl/extractor/twitch.py
@@
-344,9
+344,8
@@
class TwitchVodIE(TwitchItemBaseIE):
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',
}],