[xuite] Fix _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Thu, 29 Jan 2015 17:11:13 +0000 (23:11 +0600)
committerSergey M․ <dstftw@gmail.com>
Thu, 29 Jan 2015 17:11:13 +0000 (23:11 +0600)
youtube_dl/extractor/xuite.py

index a9dbf8c2de1e5c5c8ca75793eeb86450c825381c..4971965f9d090cce61a2e8b6d1486fadc873b4dc 100644 (file)
@@ -14,7 +14,7 @@ from ..utils import (
 
 class XuiteIE(InfoExtractor):
     _REGEX_BASE64 = r'(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?'
-    _VALID_URL = r'http://vlog.xuite.net/(?:play|embed)/(?P<id>%s)' % _REGEX_BASE64
+    _VALID_URL = r'https?://vlog\.xuite\.net/(?:play|embed)/(?P<id>%s)' % _REGEX_BASE64
     _TESTS = [{
         # Audio
         'url': 'http://vlog.xuite.net/play/RGkzc1ZULTM4NjA5MTQuZmx2',