* Update m-team FlareSolverr har
Changelog:
- Add domain to cookies which is required since FlareSolverr 3.0.0
- Add failed asserts to check again the response of FlareSolverr
Before the User cookies support mentioned in
https://github.com/FlareSolverr/FlareSolverr/issues/650 is implemented in the
official repo, the har only works with this docker image:
`15cm/flaresolverr:3.0.0` or onward. The docker image is built from
https://github.com/15cm/FlareSolverr .
Fix https://github.com/qiandao-today/templates/issues/225
* Add everything before </title> of FlareSolverr response to har __log__
The FlareSolverr response status is before the response body that contains
"</title>". If the user name can be found in the title, it means the login
succeeded. The __log__ looks like this:
{"status": "ok", "message": "Challenge not detected!", "solution": {"url": "https://kp.m-team.cc/userdetails.php?id=<userid>", "status": 200, "captcha_type": null, "cookies": [{"domain": "kp.m-team.cc", "httpOnly": false, "name": "tp", "path": "/", "secure": false, "value": "<tp_cookie>"}], "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36", "headers": {}, "response": "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n<meta name=\"generator\" content=\"NexusPHP\">\n<title>M-Team - TP :: \u7528\u6236\u8a73\u60c5 - <username> - Powered by NexusPHP</title>