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