[videopremium] support new .me domain
authorFilippo Valsorda <filosottile.wiki@gmail.com>
Wed, 27 Nov 2013 01:54:51 +0000 (02:54 +0100)
committerFilippo Valsorda <filosottile.wiki@gmail.com>
Wed, 27 Nov 2013 01:54:51 +0000 (02:54 +0100)
youtube_dl/extractor/videopremium.py

index 4800415bde2d103b8781ab3954d617fc50166074..acae81448e38e3b362fcfdd93b4a6dcd9cc5f7d0 100644 (file)
@@ -5,7 +5,7 @@ from .common import InfoExtractor
 
 
 class VideoPremiumIE(InfoExtractor):
-    _VALID_URL = r'(?:https?://)?(?:www\.)?videopremium\.tv/(?P<id>\w+)(?:/.*)?'
+    _VALID_URL = r'(?:https?://)?(?:www\.)?videopremium\.(?:tv|me)/(?P<id>\w+)(?:/.*)?'
     _TEST = {
         u'url': u'http://videopremium.tv/4w7oadjsf156',
         u'file': u'4w7oadjsf156.f4v',
@@ -41,4 +41,4 @@ class VideoPremiumIE(InfoExtractor):
             'player_url':  "http://videopremium.tv/uplayer/uppod.swf",
             'ext':         'f4v',
             'title':       video_title,
-        }
\ No newline at end of file
+        }