mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
improve docs
This commit is contained in:
parent
e02dc66150
commit
70657c4035
@ -114,7 +114,7 @@ $ set PORT=4000 && node app.js
|
||||
### 调用前须知
|
||||
- 由于接口做了缓存处理(缓存2分钟,可在 app.js 设置),相同的 url 会在两分钟内只向网易服务器发一次请求,如果遇到不需要缓存结果的接口,可在请求 url 后面加一个时间戳参数使url 不同,例子: `/simi/playlist?id=347230×tamp=1503019930000`
|
||||
|
||||
- 301 错误基本都是没登录就调用了需要登录的接口
|
||||
- 301 错误基本都是没登录就调用了需要登录的接口,如果登陆了还是提示 301, 基本都是缓存把数据缓存起来了,解决方法是等待 2 分钟或者重启服务重新登录后再调用接口
|
||||
|
||||
- 部分接口如登录接口不能调用太频繁,否则可能会触发503错误或者 ip 高频错误,若需频繁调用,需要准备 IP 代理池.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user