projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d07866f
)
[twitch] update VOD URL matching (closes #22395) (#22727)
author
MobiDotS
<msaad615@gmail.com>
Wed, 16 Oct 2019 15:13:35 +0000
(10:13 -0500)
committer
remitamine
<remitamine@gmail.com>
Wed, 16 Oct 2019 15:13:35 +0000
(15:13 +0000)
youtube_dl/extractor/twitch.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/twitch.py
b/youtube_dl/extractor/twitch.py
index 0500e33a65c92a9667f84ca20f1c72e832365cad..ca7676fe2f139773e2752ad3126076929124d76b 100644
(file)
--- a/
youtube_dl/extractor/twitch.py
+++ b/
youtube_dl/extractor/twitch.py
@@
-248,7
+248,7
@@
class TwitchVodIE(TwitchItemBaseIE):
https?://
(?:
(?:(?:www|go|m)\.)?twitch\.tv/(?:[^/]+/v(?:ideo)?|videos)/|
- player\.twitch\.tv/\?.*?\bvideo=v
+ player\.twitch\.tv/\?.*?\bvideo=v
?
)
(?P<id>\d+)
'''
@@
-306,6
+306,9
@@
class TwitchVodIE(TwitchItemBaseIE):
}, {
'url': 'https://www.twitch.tv/northernlion/video/291940395',
'only_matching': True,
+ }, {
+ 'url': 'https://player.twitch.tv/?video=480452374',
+ 'only_matching': True,
}]
def _real_extract(self, url):