Browse Source

fix LoginRequester because of MS change

master
Simon Vieille 2 months ago
parent
commit
9971bea42b
Signed by: Simon Vieille <simon@deblan.fr> GPG Key ID: 03383D15A1D31745
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      index.js

+ 3
- 2
index.js View File

@@ -178,7 +178,8 @@ try {

LoginRequester.options.form = data;

LoginRequester.runCrawl('https://login.microsoftonline.com' + urlPost)
// LoginRequester.runCrawl('https://login.microsoftonline.com' + urlPost)
LoginRequester.runCrawl(urlPost)
}
});

@@ -192,7 +193,7 @@ try {
ctx: pregMatch(/"sCtx":"([^"]+)"/, response.body)[1],
hpgrequestid: pregMatch(/"sessionId":"([^"]+)"/, response.body)[1],
flowToken: pregMatch(/"sFT":"([^"]+)"/, response.body)[1],
LoginOptions: 1,
LoginOptions: 3
}

KmsiRequester.options.form = data;

Loading…
Cancel
Save