mirror of
https://github.com/qist/tvbox.git
synced 2025-10-28 02:32:16 +00:00
update PG
This commit is contained in:
22
js/4khdr.js
22
js/4khdr.js
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user