aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/once.py
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2016-03-25 19:51:28 +0600
committerSergey M․ <[email protected]>2016-03-25 19:51:28 +0600
commit4db441de72415f8262279e48d0b15ebc9e1da369 (patch)
treeef196b0e9ec4fff60e37b193ba154e57a45bb9be /youtube_dl/extractor/once.py
parent0be8314dc86a2630863ea89c94ee827a4b97b846 (diff)
downloadyoutube-dl-4db441de72415f8262279e48d0b15ebc9e1da369.tar.gz
youtube-dl-4db441de72415f8262279e48d0b15ebc9e1da369.zip
[once] Relax _VALID_URL (Closes #8976)
Diffstat (limited to 'youtube_dl/extractor/once.py')
-rw-r--r--youtube_dl/extractor/once.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/once.py b/youtube_dl/extractor/once.py
index 5db949b17..1bf96ea56 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?://once\.unicornmedia\.com/now/[^/]+/[^/]+/(?P<domain_id>[^/]+)/(?P<application_id>[^/]+)/(?:[^/]+/)?(?P<media_item_id>[^/]+)/content\.(?:once|m3u8|mp4)'
+ _VALID_URL = r'https?://.+?\.unicornmedia\.com/now/[^/]+/[^/]+/(?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'