mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-28 22:24:34 +01:00
Merge remote-tracking branch 'refs/remotes/origin/boomplay' into boomplay
This commit is contained in:
commit
82d7e40908
1 changed files with 8 additions and 10 deletions
|
@ -388,16 +388,14 @@ class BoomPlayGenericPlaylistIE(BoomPlayBaseIE):
|
|||
|
||||
@classmethod
|
||||
def suitable(cls, url):
|
||||
if super().suitable(url):
|
||||
return not any(ie.suitable(url) for ie in (
|
||||
BoomPlayEpisodeIE,
|
||||
BoomPlayMusicIE,
|
||||
BoomPlayPlaylistIE,
|
||||
BoomPlayPodcastIE,
|
||||
BoomPlaySearchPageIE,
|
||||
BoomPlayVideoIE,
|
||||
))
|
||||
return False
|
||||
return False if any(ie.suitable(url) for ie in (
|
||||
BoomPlayEpisodeIE,
|
||||
BoomPlayMusicIE,
|
||||
BoomPlayPlaylistIE,
|
||||
BoomPlayPodcastIE,
|
||||
BoomPlaySearchPageIE,
|
||||
BoomPlayVideoIE,
|
||||
)) else super().suitable(url)
|
||||
|
||||
def _real_extract(self, url):
|
||||
_id = self._generic_id(url)
|
||||
|
|
Loading…
Reference in a new issue