aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-01-29 23:11:13 +0600
committerSergey M․ <dstftw@gmail.com>2015-01-29 23:11:13 +0600
commit219337990b8008eab81e1f9adf9eba20757f3cad (patch)
treef3a269c4d525b08e627620d8b71f2559863740d5
parent376a770cc4681e0782e3ffc40b43480beb410e80 (diff)
[xuite] Fix _VALID_URL
-rw-r--r--youtube_dl/extractor/xuite.py2
1 files changed, 1 insertions, 1 deletions
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<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',