mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-07 13:58:31 +00:00
[ie/Tagesschau] Use _yes_playlist
This commit is contained in:
parent
613852e4a8
commit
6e65718b58
@ -146,7 +146,8 @@ def _real_extract(self, url):
|
|||||||
if not entries:
|
if not entries:
|
||||||
raise UnsupportedError(url)
|
raise UnsupportedError(url)
|
||||||
|
|
||||||
if len(entries) > 1:
|
if len(entries) > 1 and self._yes_playlist(
|
||||||
|
webpage_id, entries[0]['id'], playlist_label='all media on', video_label='file'):
|
||||||
return self.playlist_result(entries, webpage_id, title)
|
return self.playlist_result(entries, webpage_id, title)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user