mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-07 23:01:21 +00:00
141 lines
3.9 KiB
JSON
141 lines
3.9 KiB
JSON
[
|
|
{
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |