Patch: 更新API

This commit is contained in:
IamFurina 2025-02-22 19:49:48 +08:00 committed by ImFurina
parent 0e7ce27b3c
commit 007890be90

View File

@ -244,7 +244,7 @@ async function consturctServer(moduleDefs) {
const song = moduleResponse['body']['data'][0]
if (!song.url || [1, 4].includes(song.fee)) {
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)
song.url = url
song.freeTrialInfo = null // 对于Splayer来说去除开通会员提示