update PG

This commit is contained in:
chuqiuyu
2023-08-20 22:43:42 +08:00
parent 0e8e2b1c8b
commit 468d101790
7 changed files with 27 additions and 5 deletions

View File

@@ -43,10 +43,19 @@ d.forEach(function(it) {
let burl = pdfh(it, 'a&&href');
log("burl >>>>>>" + burl);
if (burl.startsWith("https://www.aliyundrive.com/s/")){
TABS.push("aliyun"+aliIndex);
TABS.push("阿里雲盤"+aliIndex);
aliIndex = aliIndex + 1;
}
});
let quarkIndex=1;
d.forEach(function(it) {
let burl = pdfh(it, 'a&&href');
log("burl >>>>>>" + burl);
if (burl.startsWith("https://pan.quark.cn/s/")){
TABS.push("夸克雲盤"+quarkIndex);
quarkIndex = quarkIndex + 1;
}
});
d = pdfa(html, 'table.t_table a[href^="magnet"]');
if (d.length>0){
TABS.push("磁力");
@@ -69,6 +78,17 @@ d.forEach(function(it){
LISTS.push([loopresult]);
}
});
d.forEach(function(it){
let burl = pdfh(it, 'a&&href');
if (burl.startsWith("https://pan.quark.cn/s/")){
let title = pdfh(it, 'a&&Text');
log('title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
burl = "http://127.0.0.1:9978/proxy?do=quark&type=push&url=" + encodeURIComponent(burl);
log('burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
let loopresult = title + '$' + burl;
LISTS.push([loopresult]);
}
});
let listm = [];
d.forEach(function(it){
let burl = pdfh(it, 'a&&href');