Skip to content

Instantly share code, notes, and snippets.

@vitiko98
Last active March 8, 2024 20:00
Show Gist options
  • Save vitiko98/bb89fd203d08e285d06abf40d96db592 to your computer and use it in GitHub Desktop.
Save vitiko98/bb89fd203d08e285d06abf40d96db592 to your computer and use it in GitHub Desktop.
Get Qobuz App ID and Secrets
  • Install qobuz-dl with pip install qobuz-dl.
  • Run the script with python3 get_keys.py.

The output will look like this:

victor@void $ python3 get_keys.py
App ID: xxxxxxxxx
####################
Secrets (the first usually works):
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
from qobuz_dl.bundle import Bundle
bundle = Bundle()
app_id = bundle.get_app_id()
secrets = "\n".join(bundle.get_secrets().values())
print(f"App ID: {app_id}")
print("#" * 20)
print(f"Secrets (the first usually works):{secrets}")
@38github
Copy link

I had problems finding the secrets value in Firefox so I had to open my qobuz-dl config file under ~/.config/qobuz-dl/config.ini and there was a line with two secrets seperated by a comma. The first one did not work but the second one did.

@GONNAGITU72
Copy link

victor@void $ python3 get_keys.py
App ID: xxxxxxxxx
####################
Secrets (the first usually works):
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

@GONNAGITU72
Copy link

from qobuz_dl.bundle import Bundle

bundle = Bundle()
app_id = bundle.get_app_id()
secrets = "\n".join(bundle.get_secrets().values())

print(f"App ID: {app_id}")

print("#" * 20)

print(f"Secrets (the first usually works):{secrets}")

@Blessuremortelle
Copy link

Hi, I have the codes, but how do I use them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment