diff --git a/README.md b/README.md index 8bf13ed..c859d09 100644 --- a/README.md +++ b/README.md @@ -211,6 +211,7 @@ Tips: | DJI大疆社区 | [chen8945](https://github.com/chen8945) | [DJI大疆社区.har](https://github.com/qiandao-today/templates/blob/master/DJI大疆社区.har) | 2022-10-05 21:25:00 | 首页Cookie
| | 白兔俱乐部 | [AlisaCat-S](https://github.com/AlisaCat-S) | [白兔俱乐部.har](https://github.com/qiandao-today/templates/blob/master/白兔俱乐部.har) | 2022-10-06 12:25:00 | 首页Cookie
| | 小栗子社区 | [chen8945](https://github.com/chen8945) | [小栗子社区.har](https://github.com/qiandao-today/templates/blob/master/小栗子社区.har) | 2022-10-08 16:20:00 | 首页Cookie,Cookie请选中复制,不要右键复制
| +| 华印社区 | [chen8945](https://github.com/github-h) | [华印社区.har](https://github.com/qiandao-today/templates/blob/master/华印社区.har) | 2022-10-17 00:20:00 | 用户名+密码
| ## 📄如何注册第三方库 diff --git a/tpls_history.json b/tpls_history.json index 3e66223..1926396 100644 --- a/tpls_history.json +++ b/tpls_history.json @@ -2163,6 +2163,18 @@ "date": "2022-10-08 16:20:00", "version": "20221008", "commenturl": "https://github.com/qiandao-today/templates/issues/248" + }, + "华印社区": { + "name": "华印社区", + "author": "chen8945", + "url": "https://raw.githubusercontent.com/qiandao-today/templates/master/华印社区.har", + "update": false, + "comments": "用户名+密码
https://www.52cnp.com/", + "filename": "华印社区.har", + "content": "", + "date": "2022-10-17 00:20:00", + "version": "20221017", + "commenturl": "https://github.com/qiandao-today/templates/issues/251" } } } diff --git a/华印社区.har b/华印社区.har new file mode 100644 index 0000000..c9c54f3 --- /dev/null +++ b/华印社区.har @@ -0,0 +1 @@ +[{"request":{"method":"GET","url":"https://www.52cnp.com/member.php?mod=logging&action=login&infloat=yes&handlekey=login&inajax=1&ajaxtarget=fwin_content_login","headers":[{"name":"referer","value":"https://www.52cnp.com/portal.php"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"},{"name":"x-requested-with","value":"XMLHttpRequest"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"loginhash","re":"loginhash=(.*)\"","from":"content"},{"name":"formhash","re":"name=\"formhash\" value=\"(.+)\"","from":"content"}]}},{"request":{"method":"POST","url":"https://www.52cnp.com/member.php?mod=logging&action=login&loginsubmit=yes&handlekey=login&loginhash={{loginhash|urlencode}}&inajax=1","headers":[{"name":"origin","value":"https://www.52cnp.com"},{"name":"referer","value":"https://www.52cnp.com/portal.php"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"}],"cookies":[],"data":"formhash={{formhash}}&referer=https%3A%2F%2Fwww.52cnp.com%2Fportal.php&loginfield=username&username={{username|urlencode}}&password={{password|urlencode}}&questionid=0&answer=&cookietime=2592000","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"密码空|非法字符|登录失败","from":"content"}],"extract_variables":[]}},{"request":{"method":"GET","url":"https://www.52cnp.com/k_misign-sign.html","headers":[{"name":"referer","value":"https://www.52cnp.com/portal.php"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"formhash","re":"name=\"formhash\" value=\"(.+)\"","from":"content"}]}},{"request":{"method":"GET","url":"https://www.52cnp.com/k_misign-sign.html?operation=qiandao&format=global_usernav_extra&formhash={{formhash|urlencode}}&inajax=1&ajaxtarget=k_misign_topb","headers":[{"name":"referer","value":"https://www.52cnp.com/portal.php"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"},{"name":"x-requested-with","value":"XMLHttpRequest"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"不允许使用|含有非法字符","from":"content"}],"extract_variables":[{"name":"msg","re":".*\\[(.*)\\]]","from":"content"}]}},{"comment":"","request":{"method":"GET","url":"https://www.52cnp.com/k_misign-sign.html","headers":[{"name":"referer","value":"https://www.52cnp.com/portal.php"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"name","re":"
(.*)
","from":"content"},{"name":"qdpm","re":"您的签到排名:(\\d+)","from":"content"}]}},{"comment":"URL解码","request":{"method":"POST","url":"api://util/urldecode","headers":[],"cookies":[],"data":"content={{name}},你的签到排名为 {{qdpm}} 名"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}] \ No newline at end of file