aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlinhua55 <5linhua5@gmail.com>2015-07-18 23:33:42 +0800
committerlinhua55 <5linhua5@gmail.com>2015-07-18 23:33:42 +0800
commitbfed4813b224f720e716de4d4f27471ca9053a0b (patch)
tree02ddfb989a4f20d12e01b57ca254772a9e0c4a14
parente58066e244bf9a04c2853e8829f7939bdefc9084 (diff)
fix extraction
for http://www.tudou.com/albumplay/cJAHGih4yYg.html
-rw-r--r--youtube_dl/extractor/tudou.py2
1 files changed, 1 insertions, 1 deletions
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<id>[^/?#]+?)(?:\.html)?/?(?:$|[?#])'
+ _VALID_URL = r'https?://(?:www\.)?tudou\.com/(?:listplay|programs(?:/view)?|albumplay)/?.*/(?P<id>[^/?#]+?)(?:\.html)?/?(?:$|[?#])'
_TESTS = [{
'url': 'http://www.tudou.com/listplay/zzdE77v6Mmo/2xN2duXMxmw.html',
'md5': '140a49ed444bd22f93330985d8475fcb',