|
@@ -650,7 +650,7 @@ async function getLoginScanUrl(url){
|
|
|
const htmlText = resp.body;
|
|
const htmlText = resp.body;
|
|
|
try {
|
|
try {
|
|
|
magicJS.logger.info(`页面数据:${htmlText}`);
|
|
magicJS.logger.info(`页面数据:${htmlText}`);
|
|
|
- magicJS.logger.info(`响应头部:${JSON.stringify(resp.headers)}`);
|
|
|
|
|
|
|
+ magicJS.logger.info(`响应头部:${JSON.stringify(resp)}`);
|
|
|
let urlMatch = htmlText.match(/saomaurl=([\s\S]*)/); // 正则表达式匹配
|
|
let urlMatch = htmlText.match(/saomaurl=([\s\S]*)/); // 正则表达式匹配
|
|
|
if(urlMatch){
|
|
if(urlMatch){
|
|
|
resolve(urlMatch[1]);
|
|
resolve(urlMatch[1]);
|