feat: add NCBL encrypted scrobble interface and update related documentation

- Implemented new scrobble endpoint for NCBL encrypted logs in `scrobble_v1.js`.
- Updated `scrobble.js` to use domain from config.
- Enhanced `scrobble.html` with tabbed interface for original and NCBL versions, including new input fields.
- Added cookie handling and quick fill functionality for both versions.
- Updated `config.json` to include new domain configurations.
- Introduced `ncbl.js` for NCBL encryption utilities.
- Improved documentation in `home.md` to reflect changes in API usage.
This commit is contained in:
MoeFurina
2026-06-20 22:51:51 +08:00
parent 3c352b5752
commit 83ee2cda34
9 changed files with 1021 additions and 196 deletions
+3 -1
View File
@@ -1,6 +1,8 @@
// 听歌打卡
const createOption = require('../util/option.js')
const { APP_CONF } = require('../util/config.json')
const DOMAIN = APP_CONF.clDomian
module.exports = async (query, request) => {
// 注入 os=osx 的 cookie
let cookie = query.cookie || ''
@@ -56,7 +58,7 @@ module.exports = async (query, request) => {
}
const option = createOption(query, 'eapi')
option.domain = 'https://clientlog.music.163.com'
option.domain = DOMAIN
// 发送两次请求
const res1 = await request(`/api/feedback/weblog`, startplayData, option)