diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-08-02 23:16:15 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-08-02 23:16:15 +0700 |
commit | 644921b3722093720216ba62f09db5a75a0b43e9 (patch) | |
tree | b2b8de5d6e7acdcf268cf87d307053437738ac36 /youtube_dl | |
parent | 19b9de13c4e83416f09708dddecba6edc69b4525 (diff) |
[twitch:vod] Improve _VALID_URL (closes #17135)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/twitch.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py index 89ee44224..2c9363ffb 100644 --- a/youtube_dl/extractor/twitch.py +++ b/youtube_dl/extractor/twitch.py @@ -240,7 +240,7 @@ class TwitchVodIE(TwitchItemBaseIE): _VALID_URL = r'''(?x) https?:// (?: - (?:(?:www|go|m)\.)?twitch\.tv/(?:[^/]+/v|videos)/| + (?:(?:www|go|m)\.)?twitch\.tv/(?:[^/]+/v(?:ideo)?|videos)/| player\.twitch\.tv/\?.*?\bvideo=v ) (?P<id>\d+) @@ -296,6 +296,9 @@ class TwitchVodIE(TwitchItemBaseIE): }, { 'url': 'https://m.twitch.tv/beagsandjam/v/247478721', 'only_matching': True, + }, { + 'url': 'https://www.twitch.tv/northernlion/video/291940395', + 'only_matching': True, }] def _real_extract(self, url): |