Closed nathom closed 3 years ago
I just cloned the development branch, and it works fine for me. I’m using python3.9 but I don’t think that should make a difference. To test, I made a test.py file in the qobuz-dl directory, with the with the following text:
import qobuz_dl.cli qobuz_dl.cli.main()
And then I typed the following in the terminal:
python3 test.py dl https://www.qobuz.com/us-en/album/rage-against-the-machine-xx-20th-anniversary-special-edition-rage-against-the-machine/0886443678750
I think that you may be running the wrong file. Hope this helps.
On Feb 26, 2021, 1:25 AM -0800, zzzzz notifications@github.com, wrote:
@nathom I just cloned the development branch and run cli.py with python3.8, I got: Invalid url: "https://www.qobuz.com/us-en/album/rage-against-the-machine-xx-20th-anniversary-special-edition-rage-against-the-machine/0886443678750". Use urls from https://play.qobuz.com! Why? Missing some lines/changes in the source code or is it my fault? f'{RED}Invalid url: "{url}". Use urls from ' 'https://play.qobuz.com!' — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Also improved compliance with the flake8 linter and removed the
print
statements that I left behind.Urls from the qobuz store now work (e.g.
https://www.qobuz.com/us-en/album/rage-against-the-machine-xx-20th-anniversary-special-edition-rage-against-the-machine/0886443678750
) and urls directly from the API (e.g./us-en/album/-/d58xinei7c1wb
).