mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[youku] Add test case.
Some playlist has no data-id value. Change-Id: I97455f2907f08bda03b538cdc13ec827e2f8ce26
This commit is contained in:
parent
d99a1000c7
commit
d3ca283235
1 changed files with 4 additions and 0 deletions
|
@ -241,6 +241,10 @@ class YoukuShowIE(InfoExtractor):
|
||||||
# Ongoing playlist. The initial page is the last one
|
# Ongoing playlist. The initial page is the last one
|
||||||
'url': 'http://list.youku.com/show/id_za7c275ecd7b411e1a19e.html',
|
'url': 'http://list.youku.com/show/id_za7c275ecd7b411e1a19e.html',
|
||||||
'only_matching': True,
|
'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):
|
def _extract_entries(self, playlist_data_url, show_id, note, query):
|
||||||
|
|
Loading…
Reference in a new issue