diff options
author | Remita Amine <remitamine@gmail.com> | 2018-08-12 05:31:18 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2018-08-12 05:31:34 +0100 |
commit | 4779420ce8e13d0df33189907e477146a2a0cefe (patch) | |
tree | 5eff76904591f444cf275c044f35584f37880fa2 /youtube_dl/extractor | |
parent | de4c41b437c7a0126074d75ddeeccbf4470d0684 (diff) |
[redbulltv] add support redbull.com tv URLs(closes #17218)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/redbulltv.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/redbulltv.py b/youtube_dl/extractor/redbulltv.py index 243603676..7e8d58f38 100644 --- a/youtube_dl/extractor/redbulltv.py +++ b/youtube_dl/extractor/redbulltv.py @@ -10,7 +10,7 @@ from ..utils import ( class RedBullTVIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?redbull\.tv/video/(?P<id>AP-\w+)' + _VALID_URL = r'https?://(?:www\.)?redbull(?:\.tv|\.com/(?:[^/]+/)?tv)/video/(?P<id>AP-\w+)' _TESTS = [{ # film 'url': 'https://www.redbull.tv/video/AP-1Q6XCDTAN1W11', @@ -35,6 +35,9 @@ class RedBullTVIE(InfoExtractor): 'params': { 'skip_download': True, }, + }, { + 'url': 'https://www.redbull.com/int-en/tv/video/AP-1UWHCAR9S1W11/rob-meets-sam-gaze?playlist=playlists::3f81040a-2f31-4832-8e2e-545b1d39d173', + 'only_matching': True, }] def _real_extract(self, url): |