mirror of
https://github.com/oskvr37/tiddl.git
synced 2026-06-13 04:05:08 +03:00
1.7 KiB
1.7 KiB
Tidal Downloader
TIDDL is the Python CLI application that allows downloading Tidal tracks. Fully typed, no requirements.
It's inspired by Tidal-Media-Downloader - currently not mantained project. This repository will contain features requests from that project and will be the enhanced version.
Installation
Install package using pip
pip install tiddl
After installation you can use tiddl to set up auth token
$ tiddl
⚙️ Go to https://link.tidal.com/CYARD and add device!
Hit enter when you are ready...
✅ Token good for 7 days
Use tiddl -h to show help message
Usage
After authentication - when your token is ready - you can start downloading tracks
tiddl -s -q highsets high quality as default qualitytiddl TRACK_IDdownloads track with high qualitytiddl TRACK_ID -q masterdownloads track with best possible qualitytiddl TRACK_ID -p my_folder -o my_songdownloads track tomy_folder/my_song.flactiddl TRACK_ID -p my_folder -o my_song -ssame as above, but savesmy_folderas default download path
You can also use TIDDL as module, it's fully typed so you will get type hints
from tiddl import TidalApi
api = TidalApi(
config["token"],
config["user"]["user_id"],
config["user"]["country_code"]
)
my_playlists = api.getPlaylists()
print(f"You have got {my_playlists['totalNumberOfItems']} playlists!")