Save all scrobbles from any LastFM user.
Please note that I have only tested this application on my own LastFM library, errors are likely to occur with other, larger libraries. I encourage you to report these issues or create pull requests with fixes, see more information under Contributing
Install required libraries
pip install -r requirements.txt
Obtain an API key and secret from LastFM
Set necessary environment variables
export LASTFM_API_KEY="<your_lastfm_api_key>"
export LASTFM_SHARED_SECRET="<your_lastfm_shared_secret>"
export USER="<lastfm_username_to_backup>"
Simply run Main.py and the download will begin
python3 Main.py
Data is stored in main.db, located in the directory the project was run
I began this project with the goal of a creating a website that would have customizable visualizations of your LastFM data, but I do not have enough time to write that at the moment. There are lots of potential implementations of this data and I encourage anybody with compelling ideas to create pull requests. All I ask for are descriptive comments as to what you've changed/added and why.