templates/青桔ACG.har
github-actions[bot] aecc618126
Update HAR: 青桔ACG (#395)
Co-authored-by: chen8945 <chen8945@users.noreply.github.com>
2023-07-14 20:27:29 +08:00

225 lines
6.9 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[
{
"comment": "",
"request": {
"method": "GET",
"url": "https://acg.qingjuacg.top/",
"headers": [
{
"name": "referer",
"value": "https://acg.qingjuacg.top/"
},
{
"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": "cookie",
"value": "{{cookie}}"
}
],
"cookies": [],
"data": "",
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [
{
"re": "HI请登录",
"from": "content"
}
],
"extract_variables": []
}
},
{
"request": {
"method": "POST",
"url": "https://acg.qingjuacg.top/wp-admin/admin-ajax.php",
"headers": [
{
"name": "origin",
"value": "https://acg.qingjuacg.top"
},
{
"name": "referer",
"value": "https://acg.qingjuacg.top/"
},
{
"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": "action=user_checkin",
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\\\\u4eca\\\\u65e5\\\\u5df2\\\\u7b7e\\\\u5230",
"from": "content"
},
{
"re": "\\\\u7b7e\\\\u5230\\\\u6210\\\\u529f\\\\uff01",
"from": "content"
}
],
"failed_asserts": [
{
"re": "400",
"from": "status"
}
],
"extract_variables": [
{
"name": "msg",
"re": "\"msg\":\"(.*?)\\\"",
"from": "content"
}
]
}
},
{
"comment": "",
"request": {
"method": "GET",
"url": "https://acg.qingjuacg.top/wp-admin/admin-ajax.php?action=checkin_details_modal",
"headers": [
{
"name": "referer",
"value": "https://acg.qingjuacg.top/"
},
{
"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": "",
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [
{
"re": "400",
"from": "status"
}
],
"extract_variables": [
{
"name": "name",
"re": "</span>(.*?)</div>",
"from": "content"
},
{
"name": "ljqd",
"re": "累计签到.*>(\\d+)<.*天",
"from": "content"
},
{
"name": "jf",
"re": "</use></svg>(\\d+)<i",
"from": "content"
}
]
}
},
{
"comment": "",
"request": {
"method": "GET",
"url": "https://acg.qingjuacg.top/user-personal/level",
"headers": [
{
"name": "referer",
"value": "https://acg.qingjuacg.top/user-personal/balance"
},
{
"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": "",
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [
{
"re": "Hi请登录",
"from": "content"
}
],
"extract_variables": [
{
"name": "jy",
"re": "<div class=\"em12 font-bold\">(.*)</div>.*",
"from": "content"
},
{
"name": "sj",
"re": "升级还需.*>(\\d+)<.*经验",
"from": "content"
},
{
"name": "dj",
"re": "<span class=\"\">(.*)</span>",
"from": "content"
}
]
}
},
{
"comment": "Unicode转换",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "content=账号名称:{{name}}\\r\\n 等级:{{dj}},积分:{{jf}}\\r\\n 经验值:{{jy}},升级还需 {{sj}} 经验\\r\\n 签到结果:{{msg}},累计签到 {{ljqd}} 天"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]