[youku] Add test case.
authorJianxinLi <justcoxier@gmail.com>
Mon, 25 Dec 2017 13:39:10 +0000 (21:39 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Mon, 25 Dec 2017 14:02:47 +0000 (22:02 +0800)
Some playlist has no data-id value.

Change-Id: I97455f2907f08bda03b538cdc13ec827e2f8ce26

youtube_dl/extractor/youku.py

index 3e64cce3888bd5b79a020d54d137898dc2d9692e..c7947d4a1165212d0bbeb1ad571d9b6a1c04590a 100644 (file)
@@ -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):