|
|
|
@ -282,7 +282,9 @@ function xunmi(name,data,ishkss) { |
|
|
|
|
}; |
|
|
|
|
let html = request(ssurl, { headers: headers, timeout:timeout }); |
|
|
|
|
try{ |
|
|
|
|
log(html); |
|
|
|
|
if (html.indexOf('检测中') != -1) { |
|
|
|
|
log('过宝塔>'+ssurl + '&btwaf' + html.match(/btwaf(.*?)\"/)[1]); |
|
|
|
|
html = request(ssurl + '&btwaf' + html.match(/btwaf(.*?)\"/)[1], {headers: headers, timeout: timeout}); |
|
|
|
|
}else if (/页面已拦截/.test(html)) { |
|
|
|
|
html = fetchCodeByWebView(ssurl, { headers: headers, 'blockRules': ['.png', '.jpg'], timeout:timeout}); |
|
|
|
|