A stream downloader for Qobuz, Tidal, and Deezer.
Project description
streamrip
A scriptable stream downloader for Qobuz, Tidal, Deezer and SoundCloud.
Features
-
Downloads tracks, albums, playlists, discographies, and labels from Qobuz, Tidal, Deezer, and SoundCloud
-
Automatically converts files to a preferred format
-
Has a database that stores the downloaded tracks' IDs so that repeats are avoided
-
Easy to customize with the config file
Installation
First, ensure pip is installed. Then run the following in the command line:
macOS/Linux:
pip3 install streamrip simple-term-menu --upgrade
Windows:
pip3 install streamrip windows-curses --upgrade
If you would like to use streamrip's conversion capabilities, or download music from SoundCloud, install ffmpeg.
Example Usage
For Tidal and Qobuz, you NEED a premium subscription.
Download an album from Qobuz
rip -u https://open.qobuz.com/album/0060253780968
Download the album and convert it to mp3
rip --convert mp3 -u https://open.qobuz.com/album/0060253780968
To set the quality, use the --quality option to 0, 1, 2, 3, 4:
| Quality ID | Audio Quality | Available Sources |
|---|---|---|
| 0 | 128 kbps MP3 or AAC | Deezer, Tidal, SoundCloud (most of the time) |
| 1 | 320 kbps MP3 or AAC | Deezer, Tidal, Qobuz, SoundCloud (rarely) |
| 2 | 16 bit, 44.1 kHz (CD) | Deezer, Tidal, Qobuz, SoundCloud (rarely) |
| 3 | 24 bit, ≤ 96 kHz | Tidal (MQA), Qobuz, SoundCloud (rarely) |
| 4 | 24 bit, ≤ 192 kHz | Qobuz |
rip --quality 3 https://tidal.com/browse/album/147569387
Search for albums matching lil uzi vert on SoundCloud
rip search -s soundcloud 'lil uzi vert'
Search for Rumours on Tidal, download it, convert it to ALAC
rip -c alac search 'fleetwood mac rumours'
Qobuz discographies can be filtered using the filter subcommand
rip filter --repeats --features 'https://open.qobuz.com/artist/22195'
Want to find some new music? Use the discover command (only on Qobuz)
rip discover --list 'best-sellers'
Avaiable options for
--list:
- most-streamed
- recent-releases
- best-sellers
- press-awards
- ideal-discography
- editor-picks
- most-featured
- qobuzissims
- new-releases
- new-releases-full
- harmonia-mundi
- universal-classic
- universal-jazz
- universal-jeunesse
- universal-chanson
Troubleshooting
First, consult the help pages and their example commands.
rip --help
rip filter --help
rip search --help
rip discover --help
rip config --help
Second, try resetting the config file with rip config —reset. Config errors often arise after an update where a new feature was added.
If that doesn't work, open an issue on GitHub. Please include the traceback and the command you used.
Contributions
All contributions are appreciated! If you're new to Git, follow these steps to open your first Pull Request (PR):
- Fork this repository
- Clone the new repository
- Commit your changes
- Open a pull request to the
devbranch
Please document any functions or obscure lines of code.
Acknowledgements
Thanks to Vitiko98, Sorrow446, and DashLt for their contributions to this project, and the previous projects that made this one possible.
streamrip was inspired by:
Disclaimer
I will not be responsible for how you use streamrip. By using streamrip, you agree to the terms and conditions of the Qobuz, Tidal, and Deezer APIs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamrip-0.3.1.tar.gz.
File metadata
- Download URL: streamrip-0.3.1.tar.gz
- Upload date:
- Size: 38.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f7e87f41b72210f2dc63adf956e2e331f46c7a7f361bf476d3c1d346172ee34
|
|
| MD5 |
56d5890c16083fbbc204615e14a8a61e
|
|
| BLAKE2b-256 |
cc8aabc7629e059dfbe19ae336a4197125fb1a36af417216b355680b8fe2dca3
|
File details
Details for the file streamrip-0.3.1-py3-none-any.whl.
File metadata
- Download URL: streamrip-0.3.1-py3-none-any.whl
- Upload date:
- Size: 53.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6e57120cbfef909bd0890bacbe318b37743425377ac64d1db93f4502de04431
|
|
| MD5 |
6a97899421e3088667c591d1e3f01d7f
|
|
| BLAKE2b-256 |
78892f5cf8abe95fcffbb014e3436ce3e991ef7003b3462d94915b25c0cd241e
|