update PG
This commit is contained in:
parent
cadd3a8387
commit
a1a3c7b66a
12
js/4khdr.js
12
js/4khdr.js
@ -39,8 +39,8 @@ pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
|
|||||||
TABS=[]
|
TABS=[]
|
||||||
// log("4khdr 二级 html>>>>>>>>>>" + html);
|
// log("4khdr 二级 html>>>>>>>>>>" + html);
|
||||||
var d = pdfa(html, 'table.t_table');
|
var d = pdfa(html, 'table.t_table');
|
||||||
let magnetIndex=0;
|
let magnetIndex=1;
|
||||||
let aliIndex=0;
|
let aliIndex=1;
|
||||||
d.forEach(function(it) {
|
d.forEach(function(it) {
|
||||||
let burl = pdfh(it, 'a&&href');
|
let burl = pdfh(it, 'a&&href');
|
||||||
log("burl >>>>>>" + burl);
|
log("burl >>>>>>" + burl);
|
||||||
@ -70,11 +70,11 @@ TABS.forEach(function(tab) {
|
|||||||
log('tab >>>>>>>>' + tab);
|
log('tab >>>>>>>>' + tab);
|
||||||
if (/^aliyun/.test(tab)) {
|
if (/^aliyun/.test(tab)) {
|
||||||
let targetindex = parseInt(tab.substring(6));
|
let targetindex = parseInt(tab.substring(6));
|
||||||
let index = 0;
|
let index = 1;
|
||||||
d.forEach(function(it){
|
d.forEach(function(it){
|
||||||
let burl = pdfh(it, 'a&&href');
|
let burl = pdfh(it, 'a&&href');
|
||||||
if (burl.startsWith("https://www.aliyundrive.com/s/")){
|
if (burl.startsWith("https://www.aliyundrive.com/s/")){
|
||||||
if (index == targetindex){
|
if (index === targetindex){
|
||||||
let title = pdfh(it, 'a&&Text');
|
let title = pdfh(it, 'a&&Text');
|
||||||
log('title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
|
log('title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
|
||||||
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&url=" + encodeURIComponent(burl);
|
burl = "http://127.0.0.1:9978/proxy?do=ali&type=push&url=" + encodeURIComponent(burl);
|
||||||
@ -91,11 +91,11 @@ TABS.forEach(function(tab) {
|
|||||||
log('tab >>>>>>>>' + tab);
|
log('tab >>>>>>>>' + tab);
|
||||||
if (/^magnet/.test(tab)) {
|
if (/^magnet/.test(tab)) {
|
||||||
let targetindex = parseInt(tab.substring(6));
|
let targetindex = parseInt(tab.substring(6));
|
||||||
let index = 0;
|
let index = 1;
|
||||||
d.forEach(function(it){
|
d.forEach(function(it){
|
||||||
let burl = pdfh(it, 'a&&href');
|
let burl = pdfh(it, 'a&&href');
|
||||||
if (burl.startsWith("magnet")){
|
if (burl.startsWith("magnet")){
|
||||||
if (index == targetindex){
|
if (index === targetindex){
|
||||||
let title = pdfh(it, 'a&&Text');
|
let title = pdfh(it, 'a&&Text');
|
||||||
log('title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
|
log('title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
|
||||||
log('burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
|
log('burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
|
||||||
|
|||||||
@ -40,7 +40,7 @@ var rule = {
|
|||||||
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
|
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
|
||||||
TABS=[]
|
TABS=[]
|
||||||
var d = pdfa(html, '#dede_content&&a');
|
var d = pdfa(html, '#dede_content&&a');
|
||||||
var index=0;
|
var index=1;
|
||||||
d.forEach(function(it) {
|
d.forEach(function(it) {
|
||||||
let burl = pdfh(it, 'a&&href');
|
let burl = pdfh(it, 'a&&href');
|
||||||
log("burl >>>>>>" + burl);
|
log("burl >>>>>>" + burl);
|
||||||
@ -61,11 +61,11 @@ TABS.forEach(function(tab) {
|
|||||||
log('tab >>>>>>>>' + tab);
|
log('tab >>>>>>>>' + tab);
|
||||||
if (/^magnet/.test(tab)) {
|
if (/^magnet/.test(tab)) {
|
||||||
let targetindex = parseInt(tab.substring(6));
|
let targetindex = parseInt(tab.substring(6));
|
||||||
let index = 0;
|
let index = 1;
|
||||||
d.forEach(function(it){
|
d.forEach(function(it){
|
||||||
let burl = pdfh(it, 'a&&href');
|
let burl = pdfh(it, 'a&&href');
|
||||||
if (burl.startsWith("magnet")){
|
if (burl.startsWith("magnet")){
|
||||||
if (index == targetindex){
|
if (index === targetindex){
|
||||||
let title = pdfh(it, 'a&&Text');
|
let title = pdfh(it, 'a&&Text');
|
||||||
log('title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
|
log('title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
|
||||||
log('burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
|
log('burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
|
||||||
|
|||||||
@ -64,7 +64,7 @@ if (/^magnet/.test(tab)) {
|
|||||||
d.forEach(function(it){
|
d.forEach(function(it){
|
||||||
let burl = pdfh(it, 'a[href^="magnet"]&&href');
|
let burl = pdfh(it, 'a[href^="magnet"]&&href');
|
||||||
if (burl.startsWith("magnet")){
|
if (burl.startsWith("magnet")){
|
||||||
if (index == targetindex){
|
if (index === targetindex){
|
||||||
let title = pdfh(it, 'a[href^="magnet"]&&Text');
|
let title = pdfh(it, 'a[href^="magnet"]&&Text');
|
||||||
log('jiyingw title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
|
log('jiyingw title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
|
||||||
log('jiyingw burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
|
log('jiyingw burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
|
||||||
|
|||||||
12
js/mp4us.js
12
js/mp4us.js
@ -38,8 +38,8 @@ var rule = {
|
|||||||
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
|
pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;
|
||||||
TABS=[]
|
TABS=[]
|
||||||
var d = pdfa(html, 'ul.down-list&&li');
|
var d = pdfa(html, 'ul.down-list&&li');
|
||||||
let magnetIndex=0;
|
let magnetIndex=1;
|
||||||
let ed2kIndex=0;
|
let ed2kIndex=1;
|
||||||
d.forEach(function(it) {
|
d.forEach(function(it) {
|
||||||
let burl = pdfh(it, 'a&&href');
|
let burl = pdfh(it, 'a&&href');
|
||||||
log("burl >>>>>>" + burl);
|
log("burl >>>>>>" + burl);
|
||||||
@ -69,11 +69,11 @@ TABS.forEach(function(tab) {
|
|||||||
log('tab >>>>>>>>' + tab);
|
log('tab >>>>>>>>' + tab);
|
||||||
if (/^magnet/.test(tab)) {
|
if (/^magnet/.test(tab)) {
|
||||||
let targetindex = parseInt(tab.substring(6));
|
let targetindex = parseInt(tab.substring(6));
|
||||||
let index = 0;
|
let index = 1;
|
||||||
d.forEach(function(it){
|
d.forEach(function(it){
|
||||||
let burl = pdfh(it, 'a&&href');
|
let burl = pdfh(it, 'a&&href');
|
||||||
if (burl.startsWith("magnet")){
|
if (burl.startsWith("magnet")){
|
||||||
if (index == targetindex){
|
if (index === targetindex){
|
||||||
let title = pdfh(it, 'a&&Text');
|
let title = pdfh(it, 'a&&Text');
|
||||||
log('title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
|
log('title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
|
||||||
log('burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
|
log('burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
|
||||||
@ -89,11 +89,11 @@ TABS.forEach(function(tab) {
|
|||||||
log('tab >>>>>>>>' + tab);
|
log('tab >>>>>>>>' + tab);
|
||||||
if (/^ed2k/.test(tab)) {
|
if (/^ed2k/.test(tab)) {
|
||||||
let targetindex = parseInt(tab.substring(4));
|
let targetindex = parseInt(tab.substring(4));
|
||||||
let index = 0;
|
let index = 1;
|
||||||
d.forEach(function(it){
|
d.forEach(function(it){
|
||||||
let burl = pdfh(it, 'a&&href');
|
let burl = pdfh(it, 'a&&href');
|
||||||
if (burl.startsWith("ed2k")){
|
if (burl.startsWith("ed2k")){
|
||||||
if (index == targetindex){
|
if (index === targetindex){
|
||||||
let title = pdfh(it, 'a&&Text');
|
let title = pdfh(it, 'a&&Text');
|
||||||
log('title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
|
log('title >>>>>>>>>>>>>>>>>>>>>>>>>>' + title);
|
||||||
log('burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
|
log('burl >>>>>>>>>>>>>>>>>>>>>>>>>>' + burl);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user