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

Xiami Obfuscated URLs Cause Download Fail #60

Open
OBSIDIANSWORD opened this issue Apr 24, 2018 · 4 comments
Open

Xiami Obfuscated URLs Cause Download Fail #60

OBSIDIANSWORD opened this issue Apr 24, 2018 · 4 comments

Comments

@OBSIDIANSWORD
Copy link

Xiami have recently obfuscated their URLs, removing the "http://“ part at the start of the URL, so when it comes to download the songs, the download(s) fails immediately, and have implemented a hash function (an “auth_key”), which also contributes to this.

@sk1418
Copy link
Owner

sk1418 commented Jun 29, 2018

thanks for reporting it, fixed in all branches. pls test.

@OBSIDIANSWORD
Copy link
Author

Hello,

As asked, I have tested your newest build. However, when I attempt to use the following syntax

zx -p "https://xiami.com/album/2103767446", I get a "No downloading tasks, exit" message, even though the album does exist.

Attempting to use a proxy (set in zhuaxia.conf), results in this error:
urllib3.exceptions.ProxySchemeUnknown: Not supported proxy scheme 112.73.6.40

(even though the proxy and port are correctly entered).

Finally, attempting to use Netease, whether with a proxy set, or the "-p" switch, causes this error to appear:

ERROR: Song [id:27552647] cannot be downloaded. Filename or dl_link is missing.

The song does exist.

@sk1418
Copy link
Owner

sk1418 commented Jul 1, 2018

@OBSIDIANSWORD

I checked the album you mentioned in your comment.

first of all, you should use https://www.xiami.com/album/.... link. otherwise the link pattern won't match.

also I tested, even if I added www, the album won't be downloaded either. Because xiami has changed the album info html page request checking. It seems that some cookies are to be checked.

I need to look at it carefully when I got time. I will let you know in this issue, if I found something.

@sk1418
Copy link
Owner

sk1418 commented Jul 22, 2018

@OBSIDIANSWORD
I did some fix, pls test again, your album can be downloaded here. Note that, you should give http(s)://www.xiami.com/... as the prefix of the link.

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