xiyoumc / ncmbot Goto Github PK
View Code? Open in Web Editor NEWNeteaseCloudMusic Bot for Philharmonic™. ✨🍰✨ 网易云音乐 Python 组件库,用 Python 玩转网易云音乐
Home Page: http://xiyoumc.0x2048.com/ncmbot
License: ISC License
NeteaseCloudMusic Bot for Philharmonic™. ✨🍰✨ 网易云音乐 Python 组件库,用 Python 玩转网易云音乐
Home Page: http://xiyoumc.0x2048.com/ncmbot
License: ISC License
登录返回400错误,其它部分功能也是只返回响应200,没有数据。
ncmbot.play_list_detail()的返回值里,"tracks"和"trackIds"现在都只能返回歌单里的第一首歌,前几天"trackIds"还可以正常工作返回歌单里的所有歌,请问这是怎么回事orz
文档里面说的是20条,但是我每次调用都只能得到10条。而且,在我设置了limit=1000参数之后,还是只能得到前10条,这是一个bug吗
当尝试取回该 URL 时遇到下面的错误:http://xiyoumc.0x2048.com/ncmbot/
不能由主机名 xiyoumc.0x2048.com 确定 IP 地址。
网上的免费代理IP要么用不了要么就是IP高频您是怎么解决这个问题的呢只是测试的情况就会出现IP高频了
基于目前的测试,程序在mac上能正常运行。一旦放到树莓派上就不行了,偶尔能运行出来,但是速度也很慢,要么就直接卡死。
看了下源码发先端倪,网易云音乐要求将参数加密,且加密过程需要一个乘方运算。程序就是卡死在这个乘方运算上。详细代码见 ncmbot/util/encrypt.py , rsaEncrypt 方法 如下:
rs = int(text.encode('hex'), 16) ** int(pubKey, 16) % int(modulus, 16)
int(text.encode('hex'), 16) 该表达式计算出的结果长度随机,可能多/少一位:
134756759250514201348959048594219950947
66976556623959294182729630237432492849
这个数字与int(pubKey, 16) 表达式进行乘方运算,直接将树莓派这种渣渣秒杀(卡死)
给大佬跪了,学习了。。不过我自有解决方法😆
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.