awhite / lastcollage

Generates a collage of album artwork based on data from Last.fm
https://lastcollage.io
16 stars 1 forks source link

won't work for range of days #8

Open gadour97 opened 1 year ago

gadour97 commented 1 year ago

im trying to do a collage of august, but it doesn't work anymore when i choose days range from first to 31. lastfm month isnt the same ofc error name : An error occurred Not Acceptable

how do i run this on my machine, maybe i can fix it?

awhite commented 1 year ago

Thanks for submitting. I am on vacation right now but will take a look at this in the coming weeks.

awhite commented 1 year ago

So I took a look at this and I'm guessing the issue is that Last.fm doesn't like how some parts of the site work, i.e. everything except the standard fixed-period "Albums" request. There is official API support for the end to end collage generation process in this case, but the other types of collages utilize web scraping in addition to the official API, which Last.fm is probably detecting and not liking.

One possible solution to this would be for me to use another data source (like MusicBrainz) to actually get the images required. This should not be too difficult, and I will try to prioritize it over the coming weeks.