Skip to content

Instantly share code, notes, and snippets.

@muggenhor
Last active November 5, 2024 14:52
Show Gist options
  • Save muggenhor/389c122566be0ae4c4eb377328d9f305 to your computer and use it in GitHub Desktop.
Save muggenhor/389c122566be0ae4c4eb377328d9f305 to your computer and use it in GitHub Desktop.
Get qobuz app id and secret.
nix-shell -p 'python3Packages.buildPythonPackage rec { pname = "qobuz-dl"; version = "0.9.9.10"; src = fetchPypi { inherit pname version; hash = "sha256-q7TUl3scg+isoLB0xJvJLCtvJU7O+ogMlftt0O73qb4="; }; dependencies = with python3Packages; [ colorama requests mutagen pathvalidate tqdm (python3Packages.buildPythonPackage rec { pname = "pick"; version = "1.6.0"; format = "pyproject"; src = fetchPypi { inherit pname version; hash = "sha256-Kv1GyJtQIxHTuDHs7hoA6Kv4kq1elubLr5PxcrKa4cU="; }; nativeBuildInputs = [ poetry-core ]; doCheck = false; }) beautifulsoup4 ]; doCheck = false; }' --run 'python -c '"'"'from qobuz_dl.bundle import Bundle; from pprint import pformat; bundle = Bundle(); print(f"""App ID: {bundle.get_app_id()}\nSecrets:\n{pformat(bundle.get_secrets())}""")'"'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment