3 unstable releases
0.2.23 | Apr 19, 2021 |
---|---|
0.2.0 | Dec 5, 2020 |
0.1.0 | Sep 22, 2020 |
#214 in Multimedia
40KB
988 lines
rustfm-scraper
rustfm-scaper is a command-line application that will download your listening history from Last.fm and store it locally on your computer.
Install
Install via cargo
:
cargo install rustfm-scraper
lib.rs
:
rustfm-scraper
Command line application that uses the Last.fm API (specifically the
user.getRecentTracks
endpoint)
to download the listening history for a given user and saves the data locally to a file.
In order to run this application, you will need to generate your own API Key.
Example usage
To download the entire listening history of the LAST.HQ profile,
use the fetch
command. This will call the user.getRecentTracks
endpoint using the default values
for each parameter.
rustfm-scraper fetch LAST.HQ
Dependencies
~21–36MB
~615K SLoC