Skip to content

Commit

Permalink
upload util.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yaronzz committed Nov 15, 2021
1 parent d8db1a4 commit fc96331
Show file tree
Hide file tree
Showing 4 changed files with 540 additions and 294 deletions.
Binary file removed TIDALDL-PY/exe/tidal-dl.exe
Binary file not shown.
6 changes: 3 additions & 3 deletions TIDALDL-PY/tidal_dl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
from tidal_dl.printf import Printf, VERSION
from tidal_dl.settings import Settings, TokenSettings, getLogPath
from tidal_dl.tidal import TidalAPI
from tidal_dl.util import API

ssl._create_default_https_context = ssl._create_unverified_context

API = TidalAPI()
TOKEN = TokenSettings.read()
CONF = Settings.read()
LANG = initLang(CONF.language)
Expand Down Expand Up @@ -274,7 +274,7 @@ def main():
elif choice == "10": # test track
start(TOKEN, CONF, '70973230')
elif choice == "11": # test video
start(TOKEN, CONF, '155608351')
start(TOKEN, CONF, '188932980')
elif choice == "12": # test album
start(TOKEN, CONF, '58138532')
elif choice == "13": # test playlist
Expand All @@ -290,6 +290,6 @@ def main():
main()
# test example
# track 70973230 77798028 212657
# video 155608351
# video 155608351 188932980
# album 58138532 77803199 21993753 79151897 56288918
# playlist 98235845-13e8-43b4-94e2-d9f8e603cee7
Loading

0 comments on commit fc96331

Please sign in to comment.