From 8f8e7ecc15962296cd98e632b98d9abc3c989e33 Mon Sep 17 00:00:00 2001 From: Hellow2 Date: Wed, 29 Mar 2023 12:02:07 +0200 Subject: [PATCH] fixed crash in musify scraper --- src/music_kraken/pages/musify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/music_kraken/pages/musify.py b/src/music_kraken/pages/musify.py index 1fffec9..146808e 100644 --- a/src/music_kraken/pages/musify.py +++ b/src/music_kraken/pages/musify.py @@ -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]: