projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
376a770
)
[xuite] Fix _VALID_URL
author
Sergey M․
<dstftw@gmail.com>
Thu, 29 Jan 2015 17:11:13 +0000
(23:11 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 29 Jan 2015 17:11:13 +0000
(23:11 +0600)
youtube_dl/extractor/xuite.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/xuite.py
b/youtube_dl/extractor/xuite.py
index a9dbf8c2de1e5c5c8ca75793eeb86450c825381c..4971965f9d090cce61a2e8b6d1486fadc873b4dc 100644
(file)
--- 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'http
s?://vlog\.xuite\
.net/(?:play|embed)/(?P<id>%s)' % _REGEX_BASE64
_TESTS = [{
# Audio
'url': 'http://vlog.xuite.net/play/RGkzc1ZULTM4NjA5MTQuZmx2',