Giter Club home page Giter Club logo

netease-cloud's Introduction

网易云音乐升级全家桶

Author PHP

通过调用官方接口,每天自动刷完300首歌,借此可以达到快速升级的目的。

一个账号平均耗时为1分钟左右。放在服务器运行即可不需要人工干预,支持无服务器的云函数部署,每天自动听歌做任务,向你的微信发送任务通知。


目前已实现功能:

  • 每天自动升级
  • 任务进度推送到微信
  • 自定义网易云日推风格

本项目实则由三个项目组成,分别是:

netease-cloud's People

Contributors

daphel avatar doveboy avatar iplayforher avatar lunatictian avatar xm798 avatar zaincheung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

netease-cloud's Issues

出现No module named configparser

Traceback (most recent call last):
File "/www/wwwroot/www.XXXXXX.com/netease-cloud-master/main.py", line 9, in
from configparser import ConfigParser
ImportError: No module named configparser

单曲播放量

怎样刷单曲播放量呀,只看到了每日300首,不过确实成功了,非常感谢

[Error]KeyError: ' token'

大佬您好,我把这个项目放到了我的服务器上,产生了如下问题,请问该如何解决?谢谢
image

程序每天执行时间是什么时候

程序每天执行时间是什么时候 服务器搭建的 程序大概什么时间会执行一次 每天凌晨不会自动执行 需要宝塔页面重启

自己服务器部署api时修改nginx端口后部署失败

宝塔软件管理-->Nginx管理-->配置修改
把一个listen 80的80改为一个自定义端口。
并在/www/server/panel/vhost/nginx/目录下把三个文件全部修改一遍。
如此修改后部署api后打开子域名失败。
可能原因:服务器有caddy2搭建并且生效中的v2ray。占用了80端口。
解决方法没啥头绪。

API搭建正确,提示“用户任务执行中断,请检查账号密码是否正确

START RequestId: 55932be7-e187-410d-9c6a-695cf69bf083

Event RequestId: 55932be7-e187-410d-9c6a-695cf69bf083

配置文件读取完毕

Starting new HTTP connection (1): neteasecloudmusicapi.zhaoboy.com:80

http://neteasecloudmusicapi.zhaoboy.com:80 "GET /?do=check HTTP/1.1" 200 1107

api测试正常

账号: 15526498790 开始执行========================================

Starting new HTTP connection (1): neteasecloudmusicapi.zhaoboy.com:80

http://neteasecloudmusicapi.zhaoboy.com:80 "POST /?do=login HTTP/1.1" 404 140

2020.10.07-04:30:58 用户任务执行中断,请检查账号密码是否正确

用户任务执行中断,请检查账号密码是否正确========================================

END RequestId: 55932be7-e187-410d-9c6a-695cf69bf083

Report RequestId: 55932be7-e187-410d-9c6a-695cf69bf083 Duration:159ms Memory:128MB MemUsage:19.347656MB

执行了几步之后就提示账号密码错误了

我是用腾讯云函数,测试正常,第二天再执行的时候执行了前几步,后面就错误了

Starting new HTTPS connection (1): netease-cloud-api.glitch.me:443

https://netease-cloud-api.glitch.me:443 "POST /?do=login HTTP/1.1" 200 None

2020.07.05-00:06:48 登陆成功

登陆成功

Starting new HTTPS connection (1): netease-cloud-api.glitch.me:443

https://netease-cloud-api.glitch.me:443 "POST /?do=sign HTTP/1.1" 200 None

2020.07.05-00:08:27 签到成功

签到成功

Starting new HTTPS connection (1): netease-cloud-api.glitch.me:443

https://netease-cloud-api.glitch.me:443 "POST /?do=detail HTTP/1.1" 504 148

2020.07.05-00:11:28 用户任务执行中断,请检查账号密码是否正确

用户任务执行中断,请检查账号密码是否正确==

建议:希望增加升级剩余天数提醒

建议:
网易云音乐升级由“听歌量”和“登陆天数”两部分组成,因此希望在升级提示中增加剩余天数提醒,望大佬酌情考虑一下,谢谢!

绝对路径报错问题

  • 使用绝对路径执行函数配置文件报错
  File "/usr/lib/python3.5/configparser.py", line 956, in __getitem__
    raise KeyError(key)
KeyError: 'token'

解决

import os
os.chdir(os.path.dirname(os.path.abspath(__file__)))

需要切换到当前脚本目录

api异常

配置文件读取完毕

Starting new HTTPS connection (1): netease-cloud-api.glitch.me:443

https://netease-cloud-api.glitch.me:443 "GET /?do=check HTTP/1.1" 403 None

api测试异常

账号: xxxxxxxxx 开始执行

========================================

Starting new HTTPS connection (1): netease-cloud-api.glitch.me:443

https://netease-cloud-api.glitch.me:443 "POST /?do=login HTTP/1.1" 403 None

2020.08.26-06:00:19 用户任务执行中断,请检查账号密码是否正确

每天都是“今日共播放0首歌”

日志中显示API配置正常,账户信息也能获取到,但每天的打卡都是无效的,实际一首歌也没停,也没签到。
以下是部分日志:
返回数据:

null

日志:

START RequestId: 70abbc08-0921-4023-b365-5bd2a0dfa627

Event RequestId: 70abbc08-0921-4023-b365-5bd2a0dfa627

配置文件读取完毕

Starting new HTTP connection (1): wangyiapi.deahui.com:80

http://wangyiapi.deahui.com:80 "GET /?do=check HTTP/1.1" 200 None

api测试正常

账号: 13776645949 开始执行

========================================
Starting new HTTP connection (1): wangyiapi.deahui.com:80
http://wangyiapi.deahui.com:80 "POST /?do=login HTTP/1.1" 200 None
2020.08.30-01:00:03 登录成功
Starting new HTTP connection (1): wangyiapi.deahui.com:80
http://wangyiapi.deahui.com:80 "POST /?do=sign HTTP/1.1" 200 None
2020.08.30-01:00:03 重复签到
Starting new HTTP connection (1): wangyiapi.deahui.com:80
http://wangyiapi.deahui.com:80 "POST /?do=detail HTTP/1.1" 200 None
2020.08.30-01:00:04 获取用户详情成功
Starting new HTTP connection (1): wangyiapi.deahui.com:80
http://wangyiapi.deahui.com:80 "POST /?do=daka HTTP/1.1" 200 None
2020.08.30-01:00:09 {"code":200,"count":1000}
2020.08.30-01:00:09 第1次打卡成功,即将休眠10秒
Starting new HTTP connection (1): wangyiapi.deahui.com:80
http://wangyiapi.deahui.com:80 "POST /?do=detail HTTP/1.1" 200 None
2020.08.30-01:00:19 获取用户详情成功
2020.08.30-01:00:19 今日已打卡播放0首

多人账号出问题

![Uploading YWLIFDXL(A]1~EYR3D)}M`D.png…]()
a71a00-caca-11ea-940c-19b54dc320ba.png

)

单账号测试没问题,试了几个api没有变化,求解

每日300首

云函数运行,查看日志时显示登录签到都是正常,api也没问题,但是打卡播放一直是0首,
2020.10.09-04:22:31 登录成功

Starting new HTTP connection (1): www.ljfchtcc.com:41**

http://www.ljfchtcc.com:41** "POST /?do=sign HTTP/1.1" 200 None

2020.10.09-04:22:31 重复签到

Starting new HTTP connection (1): www.ljfchtcc.com:4163

http://www.ljfchtcc.com:41** "POST /?do=detail HTTP/1.1" 200 None

2020.10.09-04:22:31 获取用户详情成功

Starting new HTTP connection (1): www.ljfchtcc.com:41**

http://www.ljfchtcc.com:41** "POST /?do=daka HTTP/1.1" 200 None

2020.10.09-04:22:32 {"code":200,"count":310}

2020.10.09-04:22:32 第1次打卡成功,即将休眠10秒

Starting new HTTP connection (1): www.ljfchtcc.com:41**

http://www.ljfchtcc.com:41** "POST /?do=detail HTTP/1.1" 200 None

2020.10.09-04:22:42 获取用户详情成功

2020.10.09-04:22:42 今日已打卡播放0首

Starting new HTTP connection (1): www.ljfchtcc.com:41**

http://www.ljfchtcc.com:41** "POST /?do=daka HTTP/1.1" 200 None

2020.10.09-04:22:42 {"code":200,"count":310}

2020.10.09-04:22:42 第2次打卡成功,即将休眠10秒

Starting new HTTP connection (1): www.ljfchtcc.com:41**

http://www.ljfchtcc.com:41** "POST /?do=detail HTTP/1.1" 200 None

2020.10.09-04:22:53 获取用户详情成功

2020.10.09-04:22:53 今日已打卡播放0首

推送问题

现在每隔8分钟左右就推送一次怎么办

用户任务执行中断,请检查账号密码是否正确

** ###API正常,账号密码也没问题,点测试提示任务中断**

配置文件读取完毕

Starting new HTTP connection (1): api.55gy.cn:80

http://api.55gy.cn:80 "GET /?do=check HTTP/1.1" 301 162

Starting new HTTPS connection (1): api.55gy.cn:443

https://api.55gy.cn:443 "GET /?do=check HTTP/1.1" 200 None

api测试正常

账号: 151799**** 开始执行========================================

Starting new HTTP connection (1): api.55gy.cn:80

http://api.55gy.cn:80 "POST /?do=login HTTP/1.1" 301 162

Starting new HTTPS connection (1): api.55gy.cn:443

https://api.55gy.cn:443 "GET /?do=login HTTP/1.1" 200 None

2020.07.30-01:27:28 用户任务执行中断,请检查账号密码是否正确

用户任务执行中断,请检查账号密码是否正确========================================

项目升级的疑问

@ZainCheung 作者大大,目前调试此项目到腾讯云函数成功了,有个疑问请解答一下。如果以后此项目升级以后,除了正常在github中pull request拉取更新后。其他还需要做什么?腾讯云函数是否需要手动重新上传代码配置一下?还有glitch中是不是也要手动更新?

不支持国际手机号

我是一个国际留学生也在用网易云音乐但是我没有网易邮箱,绑定的手机号是加拿大的,但是贵项目只支持国内手机号,对于国际学生及海外华人十分不便,请您完善项目以支持国际手机号,谢谢!

密码显示错误?

为什么我测试是好的,然后定时他自动运行的时候每天都显示密码错误?

今天(9月7日9:36)的代码异常。

image

{

"errorCode": -1,

"errorMessage": "Traceback (most recent call last):\n File "/var/runtime/python3/bootstrap.py", line 133, in init_handler\n func_handler = get_func_handler(file.rsplit(".", 1)[0], func)\n File "/var/runtime/python3/bootstrap.py", line 159, in get_func_handler\n mod = imp.load_module(mname, *imp.find_module(mname))\n File "/var/lang/python3/lib/python3.6/imp.py", line 234, in load_module\n return load_source(name, filename, file)\n File "/var/lang/python3/lib/python3.6/imp.py", line 172, in load_source\n module = _load(spec)\n File "Ϗrozen; importlib._bootstrap>", line 675, in _load\n File "Ϗrozen; importlib._bootstrap>", line 655, in _load_unlocked\n File "Ϗrozen; importlib._bootstrap_external>", line 674, in exec_module\n File "Ϗrozen; importlib._bootstrap_external>", line 781, in get_code\n File "Ϗrozen; importlib._bootstrap_external>", line 741, in source_to_code\n File "Ϗrozen; importlib._bootstrap>", line 205, in _call_with_frames_removed\n File "/var/user/index.py", line 2\n '''\n ^\nIndentationError: unexpected indent"

}

2020.09.14用户任务执行中断,请检查账号密码是否正确

现在重新下载上传最新的文件夹,重新部署的API,也换了接口征集活动中的所有API都试过了,全都是提示“用户任务执行中断,请检查账号密码是否正确”,请各位大佬帮忙看看......
另外说下,以前用自己的API一直正常运行,8月底有一次重新上传当时最新的文件夹后就开始不能用了,日志都是一样的:
image

API搭建正确,提示“用户任务执行中断,请检查账号密码是否正确”

完整日志内容如下
---------------------------我是分割线---------------------------------
START RequestId: 18dd37b2-512d-4564-b924-3246c8fde6f8

Event RequestId: 18dd37b2-512d-4564-b924-3246c8fde6f8

配置文件读取完毕

Starting new HTTPS connection (1): wangyimusic-api.glitch.me:443

https://wangyimusic-api.glitch.me:443 "GET /?do=check HTTP/1.1" 200 None

api测试正常

账号: 18717139003 开始执行

========================================

Starting new HTTPS connection (1): wangyimusic-api.glitch.me:443

https://wangyimusic-api.glitch.me:443 "POST /?do=login HTTP/1.1" 200 None

2020.08.22-13:56:35 用户任务执行中断,请检查账号密码是否正确

END RequestId: 18dd37b2-512d-4564-b924-3246c8fde6f8

Report RequestId: 18dd37b2-512d-4564-b924-3246c8fde6f8 Duration:19542ms Memory:64MB MemUsage:41.121094MB
--------------------------分割线------------------------------
以上内容是日志,我打开了api后是正确的api运行界面
image
目前不知道是什么问题了

手机号登录不上了,重试报错如下

ERROR RequestId:0bce6316-aab2-488d-a696-22d98b6c2855 Result:{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"Traceback (most recent call last):\n File "/var/user/index.py", line 283, in main\n taskPool()\n File "/var/user/index.py", line 264, in taskPool\n account = loadJson("account.json")\n File "/var/user/index.py", line 241, in loadJson\n account = json.load(f)\n File "/var/lang/python3/lib/python3.6/json/init.py", line 299, in load\n parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)\n File "/var/lang/python3/lib/python3.6/json/init.py", line 354, in loads\n return _default_decoder.decode(s)\n File "/var/lang/python3/lib/python3.6/json/decoder.py", line 339, in decode\n obj, end = self.raw_decode(s, idx=_w(s, 0).end())\n File "/var/lang/python3/lib/python3.6/json/decoder.py", line 355, in raw_decode\n obj, end = self.scan_once(s, idx)\njson.decoder.JSONDecodeError: Expecting ',' delimiter: line 12 column 5 (char 305)"}

api测试异常

使用云函数出现如下输出是api问题吗 还是我没配置对

START RequestId: e3fe3370-c739-4b94-8e02-ee533d062891

Event RequestId: e3fe3370-c739-4b94-8e02-ee533d062891

配置文件读取完毕

Starting new HTTPS connection (1): netease-cloud-api.glitch.me:443

https://netease-cloud-api.glitch.me:443 "GET /?do=check HTTP/1.1" 503 180

api测试异常

账号: 13205125988 开始执行========================================

Starting new HTTPS connection (1): netease-cloud-api.glitch.me:443

https://netease-cloud-api.glitch.me:443 "POST /?do=login HTTP/1.1" 503 180

2020.07.06-10:31:36 用户任务执行中断,请检查账号密码是否正确

用户任务执行中断,请检查账号密码是否正确

api测试异常

配置文件读取完毕

Starting new HTTPS connection (1): netease-cloud-api.glitch.me:443

https://netease-cloud-api.glitch.me:443 "GET /?do=check HTTP/1.1" 403 None

api测试异常

账号: ********** 开始执行

========================================

Starting new HTTPS connection (1): netease-cloud-api.glitch.me:443

https://netease-cloud-api.glitch.me:443 "POST /?do=login HTTP/1.1" 403 None

2020.08.26-07:59:28 用户任务执行中断,请检查账号密码是否正确

2020.9.9号 本地搭建api服务跑播放次数无效

自己在电脑本地搭建了php的api项目,晚上和早上各跑了一次播放的接口,接口都返回成功,但是网页端听歌排行数均没有增加,注意到听歌排行的提示:”实际播放时长过短的歌曲将不纳入播放次数“ 是不是因为这个导致播放数没有增加?

调用api为:http://test-netease.com/?do=listen&id=5226925370&time=28
结果为

{
"code": 200,
"count": 28,
"res": "{\"code\":200,\"data\":\"success\",\"message\":\"\"}"    //网易接口返回的结果,我加了这一行返回
}

test-netease.com是我本地的host域名

麻烦作者大大确认一下?感谢~
@ZainCheung

设置对了,api也没错,一直显示密码错误,啥情况,开关大小写都试过,都不行。

START RequestId: e09a5b73-39af-4753-ae11-0c859e582573

Event RequestId: e09a5b73-39af-4753-ae11-0c859e582573

配置文件读取完毕

Starting new HTTP connection (1): www.qiyueliuit.com:80

http://www.qiyueliuit.com:80 "GET /?do=check HTTP/1.1" 200 1358

api测试正常

账号: 17xxxx 开始执行

========================================

Starting new HTTP connection (1): www.qiyueliuit.com:80

http://www.qiyueliuit.com:80 "POST /?do=login HTTP/1.1" 404 140

2020.08.29-15:07:34 用户任务执行中断,请检查账号密码是否正确

END RequestId: e09a5b73-39af-4753-ae11-0c859e582573

Report RequestId: e09a5b73-39af-4753-ae11-0c859e582573 Duration:1428ms Memory:64MB MemUsage:19.417969MB

用户任务执行中断,请检查账号密码是否正确

返回数据:

null

日志:

START RequestId: 6ccf5eb7-1280-40bd-b249-204d07f02a86

Event RequestId: 6ccf5eb7-1280-40bd-b249-204d07f02a86

配置文件读取完毕

Starting new HTTPS connection (1): github.com:443

https://github.com:443 "GET /wangding-wd/netease-cloud-api.git?do=check HTTP/1.1" 301 162

https://github.com:443 "GET /wangding-wd/netease-cloud-api?do=check HTTP/1.1" 200 None

api测试正常

账号: 185******** 开始执行========================================

Starting new HTTPS connection (1): github.com:443

https://github.com:443 "POST /wangding-wd/netease-cloud-api.git?do=login HTTP/1.1" 301 162

https://github.com:443 "GET /wangding-wd/netease-cloud-api?do=login HTTP/1.1" 200 None

2020.07.03-01:58:03 用户任务执行中断,请检查账号密码是否正确

用户任务执行中断,请检查账号密码是否正确========================================

END RequestId: 6ccf5eb7-1280-40bd-b249-204d07f02a86

Report RequestId: 6ccf5eb7-1280-40bd-b249-204d07f02a86 Duration:2179ms Memory:64MB MemUsage:20.531250MB

按教程在阿里云服务器部署好了API用不了

我自己在阿里云服务器自己按作者的教程部署好了api,但用不了,提示“用户任务执行中断,请检查账号密码是否正确”然后用作者部署API的第二个方法(博客里面的‘复制服务’)能够正常使用,是否服务器搭建的工程还是有bug?我换另外一个华为的服务器一样方法搭建过API,成功过一次后再也用不了了,用云函数返回的日志如下:(因隐私问题及API域名用个人IP,所以隐去电话跟IP没放出来)

START RequestId: a537fbd7-b326-4b0c-a3c6-0121f4d9db72

Event RequestId: a537fbd7-b326-4b0c-a3c6-0121f4d9db72

配置文件读取完毕

Starting new HTTP connection (1): 123...***:80

http://123.***.***.***:80 "GET /?do=check HTTP/1.1" 200 None

api测试正常

账号: 191*****552 开始执行

========================================

Starting new HTTP connection (1): 123.57.145.230:80

http://123.***.***.***0:80 "POST /?do=login HTTP/1.1" 200 None

2020.09.04-05:52:44 用户任务执行中断,请检查账号密码是否正确

END RequestId: a537fbd7-b326-4b0c-a3c6-0121f4d9db72

Report RequestId: a537fbd7-b326-4b0c-a3c6-0121f4d9db72 Duration:782ms Memory:128MB MemUsage:19.300781MB

无法启动项目

请问为什么在宝塔面板的python项目管理器中无法启动项目,没有日志输出。
在ssh用python3 main.py也会报错

用户任务执行中断,请检查账号密码是否正确,求大佬帮我看看

START RequestId: f063ae89-ba90-4b1b-a2bf-8eca8e1aa763

Event RequestId: f063ae89-ba90-4b1b-a2bf-8eca8e1aa763

配置文件读取完毕

Starting new HTTPS connection (1): netease-livchen-api.glitch.me:443

https://netease-livchen-api.glitch.me:443 "GET /?do=check HTTP/1.1" 200 7601

api测试正常

账号: 13022530718 开始执行========================================

Starting new HTTPS connection (1): netease-livchen-api.glitch.me:443

https://netease-livchen-api.glitch.me:443 "POST /?do=login HTTP/1.1" 405 0

2020.07.29-10:08:37 用户任务执行中断,请检查账号密码是否正确

用户任务执行中断,请检查账号密码是否正确========================================

END RequestId: f063ae89-ba90-4b1b-a2bf-8eca8e1aa763

Report RequestId: f063ae89-ba90-4b1b-a2bf-8eca8e1aa763 Duration:2086ms Memory:64MB MemUsage:19.7305MB

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.