thggdx / neteasemusicdownload Goto Github PK
View Code? Open in Web Editor NEW一个用于批量下载网易云音乐歌单中歌曲的python脚本
License: MIT License
一个用于批量下载网易云音乐歌单中歌曲的python脚本
License: MIT License
单独打开api的地址也打不开,网络问题?
https://ncm-api.thggdx.eu.org/
[2023-08-30 10:12:59,834][INFO] : 当前工作路径: C:\Users\31046\Desktop\NeteaseMusicDownload-main
[2023-08-30 10:13:02,141][INFO] : API地址: https://ncm-api.thggdx.eu.org
[2023-08-30 10:13:03,924][INFO] : 未登录
[2023-08-30 10:13:14,539][INFO] : 登陆方式: 手机验证码登陆
[2023-08-30 10:13:25,727][ERROR] : An error occurred: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "C:\Users\31046\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\31046\AppData\Local\Programs\Python\Python311\Lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\31046\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\31046\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\31046\Desktop\NeteaseMusicDownload-main\main.py", line 206, in
main()
File "C:\Users\31046\Desktop\NeteaseMusicDownload-main\main.py", line 116, in main
data=API.captchaLogin(phone,captcha,ctcode,api)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\31046\Desktop\NeteaseMusicDownload-main\API.py", line 123, in captchaLogin
data=requests.post(url,data=data).json()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\31046\AppData\Local\Programs\Python\Python311\Lib\site-packages\requests\models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[2023-08-30 10:13:25,730][ERROR] : 程序异常退出
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.