From 6beca5eb570b77545270a05f0fdc17bac444d73d Mon Sep 17 00:00:00 2001 From: grqx_wsl <173253225+grqx@users.noreply.github.com> Date: Tue, 15 Oct 2024 14:56:37 +1300 Subject: [PATCH] revert --- yt_dlp/extractor/boomplay.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/yt_dlp/extractor/boomplay.py b/yt_dlp/extractor/boomplay.py index c50cf275e..f6173c139 100644 --- a/yt_dlp/extractor/boomplay.py +++ b/yt_dlp/extractor/boomplay.py @@ -388,14 +388,16 @@ class BoomPlayGenericPlaylistIE(BoomPlayBaseIE): @classmethod def suitable(cls, url): - return False if any(ie.suitable(url) for ie in ( - BoomPlayEpisodeIE, - BoomPlayMusicIE, - BoomPlayPlaylistIE, - BoomPlayPodcastIE, - BoomPlaySearchPageIE, - BoomPlayVideoIE, - )) else super().suitable(url) + if super().suitable(url): + return not any(ie.suitable(url) for ie in ( + BoomPlayEpisodeIE, + BoomPlayMusicIE, + BoomPlayPlaylistIE, + BoomPlayPodcastIE, + BoomPlaySearchPageIE, + BoomPlayVideoIE, + )) + return False def _real_extract(self, url): _id = self._generic_id(url)