fixed crash in musify scraper

This commit is contained in:
Hellow2 2023-03-29 12:02:07 +02:00
parent 82e3146780
commit 8f8e7ecc15

View File

@ -530,14 +530,14 @@ class Musify(Page):
else:
LOGGER.debug("there is not even 1 footer in the album card")
return cls.ALBUM_CACHE.append(Album(
return Album(
_id=_id,
title=name,
source_list=source_list,
date=timestamp,
album_type=album_type,
album_status=album_status
))
)
@classmethod
def get_discography(cls, url: MusifyUrl, artist_name: str = None, stop_at_level: int = 1) -> List[Album]: