更新 'SrcJyData.js'

master
src48597962 8 months ago
parent 246837ac8b
commit 0ea7bf1c19
  1. 4
      SrcJyData.js

@ -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 });

Loading…
Cancel
Save