projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
901d00c
)
[baidu] Add localized name
author
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 10 Jul 2015 16:49:59 +0000
(
00:49
+0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 10 Jul 2015 16:49:59 +0000
(
00:49
+0800)
youtube_dl/extractor/baidu.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/baidu.py
b/youtube_dl/extractor/baidu.py
index 906895c1e197f510c358e47376c6f50d81bd8bdf..e37ee44403a34afe03c02660a71765e2af89cdba 100644
(file)
--- a/
youtube_dl/extractor/baidu.py
+++ b/
youtube_dl/extractor/baidu.py
@@
-8,6
+8,7
@@
from ..compat import compat_urlparse
class BaiduVideoIE(InfoExtractor):
+ IE_DESC = '百度视频'
_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',