From: linhua55 <5linhua5@gmail.com> Date: Sat, 18 Jul 2015 15:33:42 +0000 (+0800) Subject: fix extraction X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=bfed4813b224f720e716de4d4f27471ca9053a0b;p=youtube-dl fix extraction for http://www.tudou.com/albumplay/cJAHGih4yYg.html --- diff --git a/youtube_dl/extractor/tudou.py b/youtube_dl/extractor/tudou.py index c89de5ba4..8095e18d2 100644 --- a/youtube_dl/extractor/tudou.py +++ b/youtube_dl/extractor/tudou.py @@ -9,7 +9,7 @@ from .common import InfoExtractor class TudouIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?tudou\.com/(?:listplay|programs(?:/view)?|albumplay)/.*?/(?P[^/?#]+?)(?:\.html)?/?(?:$|[?#])' + _VALID_URL = r'https?://(?:www\.)?tudou\.com/(?:listplay|programs(?:/view)?|albumplay)/?.*/(?P[^/?#]+?)(?:\.html)?/?(?:$|[?#])' _TESTS = [{ 'url': 'http://www.tudou.com/listplay/zzdE77v6Mmo/2xN2duXMxmw.html', 'md5': '140a49ed444bd22f93330985d8475fcb',