From 03d78e5f984742ca96ceaf27190f362476e329a6 Mon Sep 17 00:00:00 2001 From: Hellow2 Date: Tue, 14 Mar 2023 14:58:54 +0100 Subject: [PATCH] Update musify.py --- src/music_kraken/pages/musify.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/music_kraken/pages/musify.py b/src/music_kraken/pages/musify.py index f7b67b5..72b1fcb 100644 --- a/src/music_kraken/pages/musify.py +++ b/src/music_kraken/pages/musify.py @@ -73,9 +73,12 @@ class EncyclopaediaMetallum(Page): LOGGER.warning("too many tries, returning") return None return BeautifulSoup(r.content, features="html.parser") + + @classmethod + def parse_contact_container(cls,) @classmethod - def plaintext_search(cls, query: Page.Query) -> List[MusicObject]: + def plaintext_search(cls, query: str) -> List[MusicObject]: search_soup = cls.get_soup_of_search(query=query) if search_soup is None: return None