Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dreikanter/favesdump
A python script to dump your last.fm faves
https://github.com/dreikanter/favesdump
Last synced: 17 days ago
JSON representation
A python script to dump your last.fm faves
- Host: GitHub
- URL: https://github.com/dreikanter/favesdump
- Owner: dreikanter
- License: mit
- Created: 2012-10-11T13:13:12.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-09T09:32:40.000Z (over 10 years ago)
- Last Synced: 2024-10-02T16:41:13.280Z (about 1 month ago)
- Language: Python
- Size: 172 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# last.fm faves dumper
A python script to dump your last.fm faves list into simplified JSON:
``` json
[
{
"date": "2012/05/20",
"name": "Halcyon + On + On",
"artist": "Orbital"
},
{
"date": "2012/05/20",
"name": "Iron Man",
"artist": "Black Sabbath"
},
{
"date": "2012/05/20",
"name": "Summer of '69",
"artist": "Bryan Adams"
}
]
```Or YAML:
``` yaml
- artist: The Killers
date: 2014/04/08
name: I Can't Stay
- artist: Michael Penn
date: 2014/04/03
name: Walter Reed
- artist: The Handsome Family
date: 2014/04/02
name: Far From Any Road
```Installation:
```
pip install -e git+https://github.com/dreikanter/favesdump.git#egg=favesdump
```Here are some usage examples. This command will dump faces for `username` using default file name and format settings:
```
favesdump username
```This one will dump faves for `username` to `username.yml` file:
```
favesdump --path username.yml --format yaml username
```It is possible to use some autoreplacemnts to define your own output file format, which could be helpful for automation:
```
favesdump --path {timestamp}-{user}.{format} --format yaml username
```Use `favesdump --help` for command line usage.