Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors after config.sjon #4

Closed
Tecko71 opened this issue May 18, 2020 · 5 comments
Closed

errors after config.sjon #4

Tecko71 opened this issue May 18, 2020 · 5 comments

Comments

@Tecko71
Copy link

Tecko71 commented May 18, 2020

After editing config.sjon I get read errors

Traceback (most recent call last):
File "C:\OS\MQ-DL-master\MQ-DL.py", line 357, in
cfg = parse_prefs()
File "C:\OS\MQ-DL-master\MQ-DL.py", line 71, in parse_prefs
cfg = parse_cfg()
File "C:\OS\MQ-DL-master\MQ-DL.py", line 64, in parse_cfg
return json.load(f)
File "C:\Users\tegha\AppData\Local\Programs\Python\Python38-32\lib\json_init_.py", line 293, in load
return loads(fp.read(),
File "C:\Users\tegha\AppData\Local\Programs\Python\Python38-32\lib\json_init_.py", line 357, in loads
return _default_decoder.decode(s)
File "C:\Users\tegha\AppData\Local\Programs\Python\Python38-32\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\tegha\AppData\Local\Programs\Python\Python38-32\lib\json\decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Invalid \escape: line 4 column 22 (char 85)

@Sorrow446
Copy link
Owner

-o, --output-dir Abs output directory. Double up backslashes or use
single forward slashes for Windows. Default: \MQ-DL
downloads

@Tecko71
Copy link
Author

Tecko71 commented May 20, 2020

I do not get it to work I do something wrong in de config I use "C:/Users/tegha/Music" and my commendline: "MQ-DL.py -u https://play.qobuz.com/album/b0cksdkfprljb -o C:/Users/tegha/music" , i have window

I changed \ to / and now i got error
usage: MQ-DL.py [-h] -u URL [URL ...] [-q {1,2,3,4}] [-c {1,2,3,4,5}] [-t TEMPLATE] [-k] [-o] [-l {en-US,ja-JP}]
MQ-DL.py: error: unrecognized arguments: c:/Users/tegha/Music

@Tecko71
Copy link
Author

Tecko71 commented May 20, 2020

one step futher:
now failed to login and my credentials are right

usage: MQ-DL.py [-h] -u URL [URL ...] [-q {1,2,3,4}] [-c {1,2,3,4,5}] [-t TEMPLATE] [-k] [-o] [-l {en-US,ja-JP}]
MQ-DL.py: error: unrecognized arguments: [c:/Users/tegha/Music]

C:\OS\MQ-DL-master\MQ-DL-master>MQ-DL.py -u https://play.qobuz.com/album/b0cksdkfprljb [-o c:/Users/tegha/Music]

Failed to login.
HTTPError: 401 Client Error: Unauthorized for url: https://api.napster.com/oauth/token

@Sorrow446
Copy link
Owner

Sorrow446 commented May 20, 2020

See line 34 of api/client.py.

"Authorization": "Basic TlRFd05ESTFPR1V0WTJJeU1pMDBNR05tTFdJeE1qUXRZekkyT"
							 "WpWa1lXTTBPREpoOk56YzNPRE0yWWpVdE1XWTVNQzAwWWpVMkxXSm1P"
							 "RGN0TXpZd01UYzNOR0U1WkdFMQ==" 

This isn't account specific so it should work for everyone. You can get a new one by sniffing your login in browser. I see you've put in a Qobuz URL. This tool's not for Qobuz. Qo-DL is an archived project, which I won't be working on again ever.

@Tecko71
Copy link
Author

Tecko71 commented May 20, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants