qd-today / templates

基于开源新版 QD 框架站发布的公共har模板库,仅供示例
1.06k stars 293 forks source link

AcgFun 评论区 #557

Open loveqianool opened 8 months ago

loveqianool commented 8 months ago

HAR 模板名称

AcgFun

作者信息

loveqianool

模板备注及说明

https://acgfun.moe 填入账户密码或者 cookie,任选其一,都填也行。 日本 IP 无法访问,可能也有其他国家无法访问,先测 IP。

HAR 文件名

AcgFun.har

其他信息

No response

HAR 模板内容

[{"request":{"method":"POST","url":"https://acgfun.moe/member.php?mod=logging&action=login&loginsubmit=yes&handlekey=login&inajax=1","headers":[{"name":"cookie","value":"{{cookie}}"}],"cookies":[],"data":"username={{username}}&password={{password}}"},"rule":{"success_asserts":[{"re":"欢迎","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"uid","re":"uid':'(\\d+)'","from":"content"}]}},{"request":{"method":"GET","url":"https://acgfun.moe/plugin.php?id=k_misign%3Asign","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"formhash","re":"formhash=(\\w+)\"","from":"content"}]}},{"request":{"method":"GET","url":"https://acgfun.moe/plugin.php?id=k_misign%3Asign&operation=qiandao&formhash={{formhash|urlencode}}&format=empty&inajax=1&ajaxtarget=JD_sign","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"request":{"method":"GET","url":"https://acgfun.moe/space-uid-{{uid}}.html","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"注销登录","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"user","re":"keywords\" content=\"(.+)的个人资料\"","from":"content"},{"name":"jf","re":"(<em>积分[\\s\\S]+天空石</em>\\d+) <","from":"content"},{"name":"group","re":"用户组\"> \\((.+)\\)<","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"html_unescape=false&content=用户: {{user}} 用户组: {{group}} {{jf | striptags}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]