Sorrow446 / MQ-DL

Tool written in Python to download streamable tracks from mora qualitas (モーラクオリタス).
100 stars 34 forks source link

Windows args issue. #2

Closed Sorrow446 closed 3 years ago

Sorrow446 commented 4 years ago

Not an issue with the tool itself, but having an ampersand in your URLs will break the args and cause the tool to use your config file values instead. It's a Windows console issue. The only fix is to remove before passing, or escape it.

?type=web&cid=mqapp_share_web

EDIT: you can also put all of your other args before your url arg to fix this.

sora444 commented 3 years ago

Can't loggin. Failed to login. HTTPError: 400 Client Error: Bad Request for url: https://api.napster.com/oauth/token What should I do?

Sorrow446 commented 3 years ago

Can't loggin. Failed to login. HTTPError: 400 Client Error: Bad Request for url: https://api.napster.com/oauth/token What should I do?

I think they changed their API. I'll look into this tonight.

Slypser commented 3 years ago

the same thing happens to me too

Sorrow446 commented 3 years ago

It's still working fine here. When did you guys make your accounts?

841466540 commented 3 years ago

该工具本身不是问题,但您的URL中使用&号将破坏args,并导致该工具改用您的配置文件值。这是Windows控制台问题。唯一的解决方法是在通过之前将其删除,或对其进行转义。

?type=web&cid=mqapp_share_web

编辑:您还可以将所有其他args放在url arg之前以解决此问题。

How can I change the following content