原地址:https://www.52pojie.cn/thread-1488864-1-1.html
浏览器插件和规则下载地址 https://wwr.lanzoui.com/igoljskiyuf
自行添加 URL match:https://ytweb.radio.cn/share/js/app.*.js Response:https://cdn.jsdelivr.net/gh/AIxiuxiu/yunting/app.js
https://ytweb.radio.cn/share/albumDetail?columnId=16085240010490 三体给你们测试
下载不全
别人用的苹果游览器,我用的edge没有修改js功能只能替换


代码如下 ctrl+f搜索getDemandDetail,添加下面
var payList = [];
async function downFile(info) {
try {
let playUrl = info.playUrlHigh || info.playUrl || info.playUrlHighEncode || info.playUrlEncode;
console.log('下载' + info.name + playUrl);
let res = await fetch(playUrl);
let blob = await res.blob();
const a = document.createElement('a');
document.body.appendChild(a)
a.style.display = 'none'
const url = window.URL.createObjectURL(blob);
a.href = url;
a.download = info.name + '.mp3';
a.click();
document.body.removeChild(a)
window.URL.revokeObjectURL(url);
} catch (e) {
console.error('下载' + info.name + '失败');
}
}
async function getMp3(index) {
t.pageIndex = index;
let result = await y({
data: k({}, t),
apiUrl: "/wifimusicbox/demand/detail",
method: "POST"
});
if (index == result.totalPage) {
console.error(payList);
}
for (let n = 0; n < result.con.length; n++) {
const info = result.con[n];
await downFile(info);
}
}
for (let index = 0; index < 100; index++) {
getMp3(index);
}