From: Sergey M․ Date: Thu, 29 Jan 2015 17:11:13 +0000 (+0600) Subject: [xuite] Fix _VALID_URL X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=219337990b8008eab81e1f9adf9eba20757f3cad;p=youtube-dl [xuite] Fix _VALID_URL --- diff --git a/youtube_dl/extractor/xuite.py b/youtube_dl/extractor/xuite.py index a9dbf8c2d..4971965f9 100644 --- a/youtube_dl/extractor/xuite.py +++ b/youtube_dl/extractor/xuite.py @@ -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%s)' % _REGEX_BASE64 + _VALID_URL = r'https?://vlog\.xuite\.net/(?:play|embed)/(?P%s)' % _REGEX_BASE64 _TESTS = [{ # Audio 'url': 'http://vlog.xuite.net/play/RGkzc1ZULTM4NjA5MTQuZmx2',