增加 华印社区

This commit is contained in:
chen8945 2022-10-17 00:31:49 +08:00
parent 1aebb0d228
commit 65bde97030
No known key found for this signature in database
GPG Key ID: 5B0EEF7A8A13D4AC
3 changed files with 14 additions and 0 deletions

View File

@ -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<br><https://bbs.dji.com/> |
| 白兔俱乐部 | [AlisaCat-S](https://github.com/AlisaCat-S) | [白兔俱乐部.har](https://github.com/qiandao-today/templates/blob/master/白兔俱乐部.har) | 2022-10-06 12:25:00 | 首页Cookie<br><https://club.hares.top/> |
| 小栗子社区 | [chen8945](https://github.com/chen8945) | [小栗子社区.har](https://github.com/qiandao-today/templates/blob/master/小栗子社区.har) | 2022-10-08 16:20:00 | 首页CookieCookie请选中复制不要右键复制<br><https://f.xiaolz.cn/> |
| 华印社区 | [chen8945](https://github.com/github-h) | [华印社区.har](https://github.com/qiandao-today/templates/blob/master/华印社区.har) | 2022-10-17 00:20:00 | 用户名+密码<br><https://www.52cnp.com/> |
## 📄如何注册第三方库

View File

@ -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": "用户名+密码<br>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"
}
}
}

1
华印社区.har Normal file
View File

@ -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":"<div class=\"uName\">(.*)</div>","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"}]}}]