fixed crash in musify scraper
This commit is contained in:
parent
82e3146780
commit
8f8e7ecc15
@ -530,14 +530,14 @@ class Musify(Page):
|
|||||||
else:
|
else:
|
||||||
LOGGER.debug("there is not even 1 footer in the album card")
|
LOGGER.debug("there is not even 1 footer in the album card")
|
||||||
|
|
||||||
return cls.ALBUM_CACHE.append(Album(
|
return Album(
|
||||||
_id=_id,
|
_id=_id,
|
||||||
title=name,
|
title=name,
|
||||||
source_list=source_list,
|
source_list=source_list,
|
||||||
date=timestamp,
|
date=timestamp,
|
||||||
album_type=album_type,
|
album_type=album_type,
|
||||||
album_status=album_status
|
album_status=album_status
|
||||||
))
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_discography(cls, url: MusifyUrl, artist_name: str = None, stop_at_level: int = 1) -> List[Album]:
|
def get_discography(cls, url: MusifyUrl, artist_name: str = None, stop_at_level: int = 1) -> List[Album]:
|
||||||
|
Loading…
Reference in New Issue
Block a user