logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 219337990b8008eab81e1f9adf9eba20757f3cad
parent 376a770cc4681e0782e3ffc40b43480beb410e80
Author: Sergey M․ <dstftw@gmail.com>
Date:   Thu, 29 Jan 2015 23:11:13 +0600

[xuite] Fix _VALID_URL

Diffstat:

Myoutube_dl/extractor/xuite.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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<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',