templates/naiquan.har
github-actions[bot] 3207eecaa7
Add HAR: 奶圈 (#814)
Co-authored-by: loveqianool <loveqianool@users.noreply.github.com>
2024-12-06 08:11:36 +08:00

135 lines
3.5 KiB
JSON

[
{
"request": {
"method": "GET",
"url": "https://naiq.cc/",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "Domain",
"re": "href=\"(http.+?)\"",
"from": "content"
}
]
}
},
{
"request": {
"method": "POST",
"url": "{{Domain}}/wp-admin/admin-ajax.php",
"headers": [
{
"name": "User-Agent",
"value": "{{UA | default(\"Mozilla/5.0 (Android 14; Mobile; rv:130.0) Gecko/130.0 Firefox/133.0\") }}"
}
],
"cookies": [],
"data": "username={{username}}&password={{password}}&remember=forever&action=user_signin"
},
"rule": {
"success_asserts": [
{
"re": "\\\\u6210\\\\u529f\\\\u767b\\\\u5f55",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"request": {
"method": "POST",
"url": "{{Domain}}/wp-admin/admin-ajax.php",
"headers": [
{
"name": "User-Agent",
"value": "{{UA}}"
}
],
"cookies": [],
"data": "action=user_checkin"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"request": {
"method": "GET",
"url": "{{Domain}}/wp-admin/admin-ajax.php?action=checkin_details_modal",
"headers": [
{
"name": "User-Agent",
"value": "{{UA}}"
}
],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "[\\s\\S]+",
"from": "content"
}
]
}
},
{
"comment": "Unicode转换",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "html_unescape=false&content={{__log__ | striptags}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]