From 16d68723dc80b9f21113a144c0c97626ae298d43 Mon Sep 17 00:00:00 2001 From: N/Ame <173015200+grqz@users.noreply.github.com> Date: Tue, 15 Oct 2024 13:23:54 +1300 Subject: [PATCH 1/2] Update yt_dlp/extractor/boomplay.py --- yt_dlp/extractor/boomplay.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/yt_dlp/extractor/boomplay.py b/yt_dlp/extractor/boomplay.py index 3fa6030c85..2f2eb2f100 100644 --- a/yt_dlp/extractor/boomplay.py +++ b/yt_dlp/extractor/boomplay.py @@ -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) From 445531c5a063fd18feb185adcf274716c62cb4e6 Mon Sep 17 00:00:00 2001 From: N/Ame <173015200+grqz@users.noreply.github.com> Date: Tue, 15 Oct 2024 13:27:09 +1300 Subject: [PATCH 2/2] Update yt_dlp/extractor/boomplay.py --- yt_dlp/extractor/boomplay.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/yt_dlp/extractor/boomplay.py b/yt_dlp/extractor/boomplay.py index 2f2eb2f100..439a7ec746 100644 --- a/yt_dlp/extractor/boomplay.py +++ b/yt_dlp/extractor/boomplay.py @@ -388,14 +388,14 @@ 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) + 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)