projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a64aa7
)
[baiduvideo] Improve _VALID_URL
author
Sergey M․
<dstftw@gmail.com>
Sun, 3 May 2015 01:45:15 +0000
(07:45 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 3 May 2015 01:45:15 +0000
(07:45 +0600)
youtube_dl/extractor/baidu.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/baidu.py
b/youtube_dl/extractor/baidu.py
index 7f7a88ffe2335f5585952c36e0c0e478423df295..906895c1e197f510c358e47376c6f50d81bd8bdf 100644
(file)
--- a/
youtube_dl/extractor/baidu.py
+++ b/
youtube_dl/extractor/baidu.py
@@
-8,7
+8,7
@@
from ..compat import compat_urlparse
class BaiduVideoIE(InfoExtractor):
- _VALID_URL = r'http://v\.baidu\.com/(?P<type>[a-z]+)/(?P<id>\d+).htm'
+ _VALID_URL = r'http://v\.baidu\.com/(?P<type>[a-z]+)/(?P<id>\d+)
\
.htm'
_TESTS = [{
'url': 'http://v.baidu.com/comic/1069.htm?frp=bdbrand&q=%E4%B8%AD%E5%8D%8E%E5%B0%8F%E5%BD%93%E5%AE%B6',
'info_dict': {