aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/once.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/once.py')
-rw-r--r--hypervideo_dl/extractor/once.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/hypervideo_dl/extractor/once.py b/hypervideo_dl/extractor/once.py
index 3e44b78..989f10a 100644
--- a/hypervideo_dl/extractor/once.py
+++ b/hypervideo_dl/extractor/once.py
@@ -1,12 +1,9 @@
-# coding: utf-8
-from __future__ import unicode_literals
-
import re
from .common import InfoExtractor
-class OnceIE(InfoExtractor):
+class OnceIE(InfoExtractor): # XXX: Conventionally, base classes should end with BaseIE/InfoExtractor
_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'