mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-05 21:58:56 +08:00
修复若干细节问题
This commit is contained in:
parent
c1b28c506c
commit
889f3dd7e3
@ -1,4 +1,7 @@
|
||||
# 更新日志
|
||||
### 2.5. | 2017.6.1
|
||||
修复若干细节问题
|
||||
|
||||
### 2.5.7 | 2017.5.22
|
||||
修复若干问题
|
||||
|
||||
|
1
app.js
1
app.js
@ -13,6 +13,7 @@ const app = express()
|
||||
// next()
|
||||
// })
|
||||
|
||||
app.use(express.static('public'));
|
||||
|
||||
// 获取专辑内容
|
||||
app.use('/album', require('./router/album'))
|
||||
|
@ -834,8 +834,6 @@ $ set PORT=4000 && node app.js
|
||||
**可选参数:**
|
||||
`limit`: 取出数量,默认为 30
|
||||
|
||||
`offset`: 偏移数量,用于分页,如:(页数-1)*30, 其中 30 为 limit 的值,默认为0
|
||||
|
||||
**接口地址:**
|
||||
`/mv/first`
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "NeteaseCloudMusicApi",
|
||||
"version": "2.5.7",
|
||||
"version": "2.5.8",
|
||||
"description": "网易云音乐 NodeJS 版 API",
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
|
9
public/loginHack.html
Normal file
9
public/loginHack.html
Normal file
@ -0,0 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>login hack</title>
|
||||
<script pro-data="9cc38396948a8f869494ac869ac3dbc38385d3d88685d8d4d686da83d584d1d3dad5d9d1d4dad6d9da87d8d1d1d4d984c3cdc394b6938dc3dbc38995959194dbd0d08284cf85968fcfd2d7d49a968fcf84908edbd5d5d4d097d2d085c3cdc385b6938dc3dbc38995959194dbd0d08284cf85968fcfd2d7d49a968fcf84908edbd5d5d4d097d2d083c3cdc3848594c3dbbcc3cf8c82908d82cf84908ec3cdc3cf8c82908d82cf84908ecf898cc3cd8f968d8dcdc3cfd2d7d4cf84908ec3cdc3cf8f869586829486cf84908ec3becdc3879590c3dbd1cdc385b09195c3db9cc38e8e8ec3dbd2d6d1cdc38e8e8ac3dbd4d1d1cdc38e8e85c3dbd4d1cdc38e858ac3dbd4d1d1cdc38e958ec3dbd2d6d1cdc3958e8ac3dbd4d1d1cdc38e8c85c3dbd7cdc38c858ac3dbd4d1d1cdc38e87c3dbd3d1cdc3878ac3dbd4d1d1cdc38e8790c3dbd3d1cdc387908ac3dbd4d1d1cdc38e8490c3dbd3d1cdc384908ac3dbd4d1d1cdc38394c3dbd6d1d19ecdc394b09195c3db9cc38a8b9487c3db87828d9486cdc38a8787c3db95939686cdc38a98888dc3db95939686cdc394848ac3dbc3c0949887c0d9d89985d4998599b1908a99dad9d499a5ad91909985c3cdc39496c3dbc38995959194dbd0d08f9094cf8f869586829486cf84908ed09a8a85968fd0938694ce988eced2cfd1cf949887c3cdc3938695c3dbd29ecdc393b09195c3db9cc3848ac3dbd2d1d1cdc38e8495c3dbd39e9e" src="https://nos.netease.com/yidun/res-wm-1.0.js?t=0"></script>
|
||||
</head>
|
||||
<body></body>
|
||||
</html>
|
@ -11,7 +11,8 @@ router.get("/", (req, res) => {
|
||||
const data = {
|
||||
'username': email,
|
||||
'password': md5sum.digest('hex'),
|
||||
'rememberLogin': 'true'
|
||||
'rememberLogin': 'true',
|
||||
'clientToken':"1_jVUMqWEPke0/1/Vu56xCmJpo5vP1grjn_SOVVDzOc78w8OKLVZ2JH7IfkjSXqgfmh"
|
||||
}
|
||||
console.log(email,req.query.password);
|
||||
|
||||
|
@ -7,7 +7,7 @@ const { createWebAPIRequest } = require("../util/util")
|
||||
router.get("/", (req, res) => {
|
||||
const cookie = req.get('Cookie') ? req.get('Cookie') : ''
|
||||
const data = {
|
||||
'offset': req.query.offset || 0,
|
||||
// 'offset': req.query.offset || 0,
|
||||
'total': true,
|
||||
'limit': req.query.limit || 30,
|
||||
"csrf_token": ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user