Update musify.py

This commit is contained in:
Hellow2 2023-03-14 14:58:54 +01:00
parent f3d9025d0b
commit 03d78e5f98

View File

@ -73,9 +73,12 @@ class EncyclopaediaMetallum(Page):
LOGGER.warning("too many tries, returning") LOGGER.warning("too many tries, returning")
return None return None
return BeautifulSoup(r.content, features="html.parser") return BeautifulSoup(r.content, features="html.parser")
@classmethod
def parse_contact_container(cls,)
@classmethod @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) search_soup = cls.get_soup_of_search(query=query)
if search_soup is None: if search_soup is None:
return None return None