Skip to content

A feature-rich command-line audio/video downloader

[tudou] Add the test case (#6273)

Yen Chi Hsuan41ebd6530b12
diff --git a/youtube_dl/extractor/tudou.py b/youtube_dl/extractor/tudou.py
index e800477e2c..950c42afb4 100644
--- a/youtube_dl/extractor/tudou.py
+++ b/youtube_dl/extractor/tudou.py
@@ -27,6 +27,9 @@ class TudouIE(InfoExtractor):
'title': 'La Sylphide-Bolshoi-Ekaterina Krysanova & Vyacheslav Lopatin 2012',
'thumbnail': 're:^https?://.*\.jpg$',
}
+ }, {
+ 'url': 'http://www.tudou.com/albumplay/cJAHGih4yYg.html',
+ 'only_matching': True,
}]
_PLAYER_URL = 'http://js.tudouui.com/bin/lingtong/PortalPlayer_177.swf'