vitiko98 / qobuz-dl

A complete Lossless and Hi-Res music downloader for Qobuz
GNU General Public License v3.0
1.45k stars 192 forks source link

403 Forbidden #111

Closed Slyyxp closed 3 years ago

Slyyxp commented 3 years ago
Traceback (most recent call last):
  File "/home/slyyxp/.pyenv/versions/3.9.0/bin/qobuz-dl", line 8, in <module>
    sys.exit(main())
  File "/home/slyyxp/.pyenv/versions/3.9.0/lib/python3.9/site-packages/qobuz_dl/cli.py", line 174, in main
    qobuz.initialize_client(email, password, app_id, secrets)
  File "/home/slyyxp/.pyenv/versions/3.9.0/lib/python3.9/site-packages/qobuz_dl/core.py", line 73, in initialize_client
    self.client = qopy.Client(email, pwd, app_id, secrets)
  File "/home/slyyxp/.pyenv/versions/3.9.0/lib/python3.9/site-packages/qobuz_dl/qopy.py", line 38, in __init__
    self.auth(email, pwd)
  File "/home/slyyxp/.pyenv/versions/3.9.0/lib/python3.9/site-packages/qobuz_dl/qopy.py", line 118, in auth
    usr_info = self.api_call("user/login", email=email, pwd=pwd)
  File "/home/slyyxp/.pyenv/versions/3.9.0/lib/python3.9/site-packages/qobuz_dl/qopy.py", line 114, in api_call
    r.raise_for_status()
  File "/home/slyyxp/.pyenv/versions/3.9.0/lib/python3.9/site-packages/requests/models.py", line 943, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://www.qobuz.com/api.json/0.2/user/login?email=**********&password=*********&app_id=*************

Qobuz is raising a 403 when making an api call to login. I'm unsure why because I know these credentials are vaild as I have been using them on my Windows device.

Edit: Ubuntu 16.04TLS system, Windows 10 system both pass these credentials fine. Ubuntu 20.04 however is not able to connect.