From ee5fc85dfc0bc547a728acc239d3bf980e9f6f2a Mon Sep 17 00:00:00 2001 From: Joinemm Date: Tue, 28 Nov 2023 13:11:17 +0200 Subject: [PATCH] Actually fix wkt images (scrape) --- cogs/lastfm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/lastfm.py b/cogs/lastfm.py index 0ad2865..188944b 100644 --- a/cogs/lastfm.py +++ b/cogs/lastfm.py @@ -2035,7 +2035,7 @@ async def user_playcount(lastfm_username: str, user_id: int) -> tuple[int, int]: ) # get album image - image = LastFmImage.from_url(trackinfo["image"][0]["#text"]) + image = await self.api.scrape_track_image(trackinfo["url"]) if image: content.set_thumbnail(url=image.as_full()) content.colour = await self.image_color(image)