templates/ritdon.har
github-actions[bot] 8c318133c1
Update HAR: 深夜读书会 (#886)
Co-authored-by: loveqianool <loveqianool@users.noreply.github.com>
2025-02-28 23:14:07 +08:00

86 lines
2.3 KiB
JSON

[
{
"request": {
"method": "POST",
"url": "https://ritdon.com/member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes&inajax=1",
"headers": [],
"cookies": [],
"data": "username={{username}}&password={{password}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"request": {
"method": "GET",
"url": "https://ritdon.com/home.php?mod=spacecp&ac=credit&showcredit=1",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "u",
"re": "空间\">(.+?)<",
"from": "content"
},
{
"name": "j",
"re": ">(积分: \\d+)<",
"from": "content"
},
{
"name": "g",
"re": "(用户组: .+)<",
"from": "content"
}
]
}
},
{
"comment": "Unicode转换",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "html_unescape=false&content= {{u}} {{j}} {{g}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]