aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJianxinLi <justcoxier@gmail.com>2017-12-25 21:39:10 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2017-12-25 22:02:47 +0800
commitd3ca28323545a36819d9c32797907bc190095b5c (patch)
tree850d41c9b576c81d42508ddcc5bb648529e4df8a
parentd99a1000c7522cb37910afe772d7317687521eb0 (diff)
downloadyoutube-dl-d3ca28323545a36819d9c32797907bc190095b5c.zip
youtube-dl-d3ca28323545a36819d9c32797907bc190095b5c.tar.gz
youtube-dl-d3ca28323545a36819d9c32797907bc190095b5c.tar.bz2
[youku] Add test case.
Some playlist has no data-id value. Change-Id: I97455f2907f08bda03b538cdc13ec827e2f8ce26
-rw-r--r--youtube_dl/extractor/youku.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/extractor/youku.py b/youtube_dl/extractor/youku.py
index 3e64cce..c7947d4 100644
--- a/youtube_dl/extractor/youku.py
+++ b/youtube_dl/extractor/youku.py
@@ -241,6 +241,10 @@ class YoukuShowIE(InfoExtractor):
# Ongoing playlist. The initial page is the last one
'url': 'http://list.youku.com/show/id_za7c275ecd7b411e1a19e.html',
'only_matching': True,
+ }, {
+ # No data-id value.
+ 'url': 'http://list.youku.com/show/id_zefbfbd61237fefbfbdef.html',
+ 'only_matching': True,
}]
def _extract_entries(self, playlist_data_url, show_id, note, query):