mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-10-22 22:53:09 +00:00
reapply. 重新加入解灰功能
This commit is contained in:
parent
f4ac52756e
commit
b6a135e8b9
@ -239,7 +239,7 @@ async function consturctServer(moduleDefs) {
|
|||||||
return request(...obj)
|
return request(...obj)
|
||||||
})
|
})
|
||||||
console.log('[OK]', decode(req.originalUrl))
|
console.log('[OK]', decode(req.originalUrl))
|
||||||
/*
|
|
||||||
if (req.baseUrl === '/song/url/v1' || req.baseUrl === '/song/url') {
|
if (req.baseUrl === '/song/url/v1' || req.baseUrl === '/song/url') {
|
||||||
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)) {
|
||||||
@ -251,7 +251,7 @@ async function consturctServer(moduleDefs) {
|
|||||||
console.log("解灰成功!")// 对于Splayer来说,去除开通会员提示
|
console.log("解灰成功!")// 对于Splayer来说,去除开通会员提示
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
const cookies = moduleResponse.cookie
|
const cookies = moduleResponse.cookie
|
||||||
if (!query.noCookie) {
|
if (!query.noCookie) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user