1
0
Fork 0

fix LoginRequester because of MS change

This commit is contained in:
Simon Vieille 2019-07-14 12:30:55 +02:00
父節點 afe2ccd11a
當前提交 9971bea42b
簽署人: deblan
GPG 金鑰 ID: 03383D15A1D31745
共有 1 個檔案被更改,包括 3 行新增2 行删除

查看文件

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