mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-10-22 22:53:09 +00:00
Patch: 更新API
This commit is contained in:
parent
0e7ce27b3c
commit
007890be90
@ -244,7 +244,7 @@ async function consturctServer(moduleDefs) {
|
|||||||
const song = moduleResponse['body']['data'][0]
|
const song = moduleResponse['body']['data'][0]
|
||||||
if (!song.url || [1, 4].includes(song.fee)) {
|
if (!song.url || [1, 4].includes(song.fee)) {
|
||||||
const match = require('@unblockneteasemusic/server')
|
const match = require('@unblockneteasemusic/server')
|
||||||
const source = ['pyncmd', 'qq', 'migu', 'kuwo', 'kugou', 'bilibili']
|
const source = ['pyncmd', 'kuwo']
|
||||||
const { url } = await match(req.query.id, source)
|
const { url } = await match(req.query.id, source)
|
||||||
song.url = url
|
song.url = url
|
||||||
song.freeTrialInfo = null // 对于Splayer来说,去除开通会员提示
|
song.freeTrialInfo = null // 对于Splayer来说,去除开通会员提示
|
||||||
|
Loading…
x
Reference in New Issue
Block a user