Scrape LAST.FM playlists to SQLite
Project description
lastfm
- Scrape LAST.FM user's playlists to SQLite.
- Docs: https://lastfm.readthedocs.io/en/latest/
Usage
pip install lastfm-to-sqlite
Now run CLI:
lastfm export 244ec3b62b2501514191234eed07c75d lastfm_dump.db --user Way4Music
That will use (or create) a SQLite database called lastfm_dump.db
and a table called playlist
to export user's entire playlist.
To scrape specific dates, use --start_date
and --end_date
:
lastfm export 244ec3b62b2501514191234eed07c75 lastfm_dump.db --user way4music --start_date 2021-08-15 --end_date 2021-09-01
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lastfm-to-sqlite-0.2.2.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for lastfm_to_sqlite-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d37ecec9e686cfc2de8841b19d1c444f8e6b67ab9d00910d8d613d91be62e7b |
|
MD5 | 84182c6a639ef10d0e60fdc649533404 |
|
BLAKE2b-256 | bcf5452904e1b204976bea430f6fc56c8fcc027024d236141b888d41b85b15d9 |