consistency: BoomplaySearchPageIE => BoomplaySearchURLIE

This commit is contained in:
grqx_wsl 2024-10-18 13:28:49 +13:00
parent cee1c763e4
commit 28a1163010
2 changed files with 4 additions and 4 deletions

View File

@ -287,7 +287,7 @@ from .boomplay import (
BoomplayPlaylistIE, BoomplayPlaylistIE,
BoomplayPodcastIE, BoomplayPodcastIE,
BoomplaySearchIE, BoomplaySearchIE,
BoomplaySearchPageIE, BoomplaySearchURLIE,
BoomplayVideoIE, BoomplayVideoIE,
) )
from .boosty import BoostyIE from .boosty import BoostyIE

View File

@ -394,7 +394,7 @@ class BoomplayGenericPlaylistIE(BoomplayBaseIE):
BoomplayMusicIE, BoomplayMusicIE,
BoomplayPlaylistIE, BoomplayPlaylistIE,
BoomplayPodcastIE, BoomplayPodcastIE,
BoomplaySearchPageIE, BoomplaySearchURLIE,
BoomplayVideoIE, BoomplayVideoIE,
)) ))
return False return False
@ -407,7 +407,7 @@ class BoomplayGenericPlaylistIE(BoomplayBaseIE):
**self._extract_page_metadata(webpage, _id)) **self._extract_page_metadata(webpage, _id))
class BoomplaySearchPageIE(BoomplayBaseIE): class BoomplaySearchURLIE(BoomplayBaseIE):
_TESTS = [{ _TESTS = [{
'url': 'https://www.boomplay.com/search/default/%20Rise%20of%20the%20Falletesn%20Heroes%20fatbunny', 'url': 'https://www.boomplay.com/search/default/%20Rise%20of%20the%20Falletesn%20Heroes%20fatbunny',
'md5': 'c5fb4f23e6aae98064230ef3c39c2178', 'md5': 'c5fb4f23e6aae98064230ef3c39c2178',
@ -468,4 +468,4 @@ class BoomplaySearchIE(SearchInfoExtractor):
def _search_results(self, query): def _search_results(self, query):
yield self.url_result( yield self.url_result(
f'https://www.boomplay.com/search/default/{urllib.parse.quote(query)}', f'https://www.boomplay.com/search/default/{urllib.parse.quote(query)}',
BoomplaySearchPageIE) BoomplaySearchURLIE)