feat(unblock): 新增bodian source

This commit is contained in:
ImFurina
2025-09-23 20:19:47 +08:00
parent 09f6b862fe
commit ea3acc0b14
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ async function consturctServer(moduleDefs) {
const song = moduleResponse['body']['data'][0]
if (song.freeTrialInfo !== null || !song.url || [1, 4].includes(song.fee)) {
const match = require('@unblockneteasemusic/server')
const source = process.env.UNBLOCK_SOURCE ? process.env.UNBLOCK_SOURCE.split(',') : ['pyncmd', 'kuwo', 'qq', 'migu', 'kugou']
const source = process.env.UNBLOCK_SOURCE ? process.env.UNBLOCK_SOURCE.split(',') : ['pyncmd', 'bodian', 'kuwo', 'qq', 'migu', 'kugou']
logger.info("开始解灰", source)
const { url } = await match(req.query.id, source)
song.url = url