mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-26 04:02:11 +00:00
[xuite] Fix _VALID_URL
This commit is contained in:
parent
376a770cc4
commit
219337990b
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ from ..utils import (
|
||||||
|
|
||||||
class XuiteIE(InfoExtractor):
|
class XuiteIE(InfoExtractor):
|
||||||
_REGEX_BASE64 = r'(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?'
|
_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 = [{
|
_TESTS = [{
|
||||||
# Audio
|
# Audio
|
||||||
'url': 'http://vlog.xuite.net/play/RGkzc1ZULTM4NjA5MTQuZmx2',
|
'url': 'http://vlog.xuite.net/play/RGkzc1ZULTM4NjA5MTQuZmx2',
|
||||||
|
|
Loading…
Reference in a new issue