diff options
author | Remita Amine <remitamine@gmail.com> | 2017-10-11 15:48:32 +0000 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2017-10-11 15:50:20 +0000 |
commit | 782195a9d417aab21cff4abe35ad9d705f4d8d83 (patch) | |
tree | a9c7a9b7e5613a56b01d574071087f3c9a4c3656 /youtube_dl/extractor/once.py | |
parent | 26bae2d96509b5c5ec80c27c1ea754b53c53818c (diff) |
[once] add support for vmap urls
Diffstat (limited to 'youtube_dl/extractor/once.py')
-rw-r--r-- | youtube_dl/extractor/once.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/once.py b/youtube_dl/extractor/once.py index 1bf96ea56..a637c8ecf 100644 --- a/youtube_dl/extractor/once.py +++ b/youtube_dl/extractor/once.py @@ -7,7 +7,7 @@ from .common import InfoExtractor class OnceIE(InfoExtractor): - _VALID_URL = r'https?://.+?\.unicornmedia\.com/now/[^/]+/[^/]+/(?P<domain_id>[^/]+)/(?P<application_id>[^/]+)/(?:[^/]+/)?(?P<media_item_id>[^/]+)/content\.(?:once|m3u8|mp4)' + _VALID_URL = r'https?://.+?\.unicornmedia\.com/now/(?:ads/vmap/)?[^/]+/[^/]+/(?P<domain_id>[^/]+)/(?P<application_id>[^/]+)/(?:[^/]+/)?(?P<media_item_id>[^/]+)/content\.(?:once|m3u8|mp4)' ADAPTIVE_URL_TEMPLATE = 'http://once.unicornmedia.com/now/master/playlist/%s/%s/%s/content.m3u8' PROGRESSIVE_URL_TEMPLATE = 'http://once.unicornmedia.com/now/media/progressive/%s/%s/%s/%s/content.mp4' |