|
|
@ -623,7 +623,9 @@ function getSsData(name, jkdata, page) { |
|
|
|
let html = request(ssurl, { headers: headers, timeout: timeout }); |
|
|
|
let html = request(ssurl, { headers: headers, timeout: timeout }); |
|
|
|
try { |
|
|
|
try { |
|
|
|
if (html.indexOf('cf-wrapper') != -1) { |
|
|
|
if (html.indexOf('cf-wrapper') != -1) { |
|
|
|
html = fetchCodeByWebView(ssurl, { headers: headers, 'blockRules': ['.png', '.jpg'], timeout: timeout }); |
|
|
|
html = fetchCodeByWebView(ssurl, { headers: headers, 'blockRules': ['.png', '.jpg'], timeout: timeout,checkJs: $.toString((name)=>{ |
|
|
|
|
|
|
|
return document.body.innerHTML.includes(name); |
|
|
|
|
|
|
|
},name) }); |
|
|
|
log(html); |
|
|
|
log(html); |
|
|
|
}else if (html.indexOf('检测中') != -1) { |
|
|
|
}else if (html.indexOf('检测中') != -1) { |
|
|
|
html = request(ssurl + '&btwaf' + html.match(/btwaf(.*?)\"/)[1], { headers: headers, timeout: timeout }); |
|
|
|
html = request(ssurl + '&btwaf' + html.match(/btwaf(.*?)\"/)[1], { headers: headers, timeout: timeout }); |
|
|
|