aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-09-12 22:41:51 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-09-12 22:41:51 +0800
commit2ec7b7b79b50e0a05d6f7b4ebf839ff10d063a14 (patch)
tree58f065bb04aa43871861cd57bd2dedead6af326c
parent586f1cc532d167c28e733779cbf132b94d8f76e6 (diff)
parentbfed4813b224f720e716de4d4f27471ca9053a0b (diff)
Merge branch 'master' of https://github.com/linhua55/youtube-dl into linhua55-master
-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 84fe71aef..e800477e2 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',