From 963aea5279691affca34d220452cecfd0e291a77 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Sun, 3 May 2015 07:45:15 +0600 Subject: [PATCH] [baiduvideo] Improve _VALID_URL --- youtube_dl/extractor/baidu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[a-z]+)/(?P\d+).htm' + _VALID_URL = r'http://v\.baidu\.com/(?P[a-z]+)/(?P\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': { -- 2.40.0