What's the best way to export a complete history of my last.fm scrobbles? The data seems to be there on the website so in theory it could be screen scraped if all else fails but is there an easier way?
|
As Backing up Last.FM scrobbles explains you should be able to use the script lastexport.py in LastToLibre. To use it:
The script also allows for exporting loved and banned tracks. By default it exports scrobbles but you can change the behavior by setting the flags If you want to backup loved songs you can use sync_songs. It requires Ruby which can be installed via
on Debian-based systems. The simplest way to install sync_songs is via RubyGems (which can be installed via
For details and other ways to install see the readme. To use it with Last.fm you need an API account as described in services.org. It is free and quite easy to get such an account. Once you have an account you can backuo Last.fm loved tracks to a CSV file by first a creating an empty file and then issuing the following
You need to replace |
||||
|
|
|
Maybe there is something at Build Last.fm you could use? Rather than screen scraping, they do have an api that you could use to pull your library among other functions. |
|||||
|