1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 16:17:51 +08:00

[xuite] Fix _VALID_URL

This commit is contained in:
Sergey M․ 2015-01-29 23:11:13 +06:00
parent 376a770cc4
commit 219337990b

View 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',