summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-01-17 11:43:49 +0100
committerRobert Honz <exislow+github@gmail.com>2024-01-17 11:43:49 +0100
commitbdccb8be37fd941cd5c681950a7e25085efbabb0 (patch)
tree35aab7d7dabe846b5aa22893d1d92a41e6ab2b60
parent125641a93cbc1bf609d1db8e431cd62b998dc683 (diff)
downloadtidal-dl-ng-bdccb8be37fd941cd5c681950a7e25085efbabb0.tar.gz
🪄 Removed unnecessary description. Added some comments.
-rw-r--r--pyproject.toml20
-rw-r--r--tidal_dl_ng/api.py6
2 files changed, 14 insertions, 12 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 4c4aadf..629ed1f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,15 +1,3 @@
-[project]
-name = "tidal-dl-ng"
-version = "0.5.1"
-description = "TIDAL Medial Downloader Next Generation!"
-authors = ["Robert Honz <cen.sored@gmail.com>"]
-repository = "https://github.com/exislow/tidal-dl-ng"
-documentation = "https://exislow.github.io/tidal-dl-ng/"
-readme = "README.md"
-packages = [
- { include = "tidal_dl_ng" }
-]
-
[tool.poetry]
name = "tidal-dl-ng"
authors = ["Robert Honz <cen.sored@gmail.com>"]
@@ -21,6 +9,14 @@ readme = "README.md"
packages = [
{ include = "tidal_dl_ng" }
]
+classifiers = [
+ "Development Status :: 4 - Beta",
+ "Intended Audience :: Developers",
+ "License :: OSI Approved :: GNU Affero General Public License v3",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
+]
[tool.poetry.scripts]
tidal-dl-ng = "tidal_dl_ng.cli:app"
diff --git a/tidal_dl_ng/api.py b/tidal_dl_ng/api.py
index 5e0dcd5..5923159 100644
--- a/tidal_dl_ng/api.py
+++ b/tidal_dl_ng/api.py
@@ -2,6 +2,12 @@ import json
import requests
+# See also
+# https://github.com/yaronzz/Tidal-Media-Downloader/commit/1d5b8cd8f65fd1def45d6406778248249d6dfbdf
+# https://github.com/yaronzz/Tidal-Media-Downloader/pull/840
+# https://github.com/nathom/streamrip/tree/main/streamrip
+# https://github.com/arnesongit/plugin.audio.tidal2/blob/e9429d601d0c303d775d05a19a66415b57479d87/resources/lib/tidal2/tidalapi/__init__.py#L86
+
# TODO: Implement this into `Download`: Session should randomize the usage.
__KEYS_JSON__ = """
{