Update yt_dlp/extractor/boomplay.py

This commit is contained in:
N/Ame 2024-10-15 13:23:54 +13:00 committed by GitHub
parent 5b962d70de
commit 16d68723dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 (
return False if any(ie.suitable(url) for ie in (
BoomPlayEpisodeIE,
BoomPlayMusicIE,
BoomPlayPlaylistIE,
BoomPlayPodcastIE,
BoomPlaySearchPageIE,
BoomPlayVideoIE,
))
return False
)) else super().suitable(url)
def _real_extract(self, url):
_id = self._generic_id(url)