aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-03 07:45:15 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-03 07:45:15 +0600
commit963aea5279691affca34d220452cecfd0e291a77 (patch)
tree4ef3bcaa63ead45d86c1189922b35cb9564960c7
parent0a64aa73552d3fc3ae6e24a56e2f8e78c960603c (diff)
[baiduvideo] Improve _VALID_URL
-rw-r--r--youtube_dl/extractor/baidu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/baidu.py b/youtube_dl/extractor/baidu.py
index 7f7a88ffe..906895c1e 100644
--- 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': {