mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 20:32:02 +00:00
356 lines
11 KiB
JSON
356 lines
11 KiB
JSON
[
|
||
{
|
||
"comment": "获取formhash",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://51acg.buzz/",
|
||
"headers": [
|
||
{
|
||
"name": "Host",
|
||
"value": "51acg.buzz"
|
||
},
|
||
{
|
||
"name": "Connection",
|
||
"value": "keep-alive"
|
||
},
|
||
{
|
||
"name": "Cache-Control",
|
||
"value": "max-age=0"
|
||
},
|
||
{
|
||
"name": "sec-ch-ua",
|
||
"value": "\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\""
|
||
},
|
||
{
|
||
"name": "sec-ch-ua-mobile",
|
||
"value": "?0"
|
||
},
|
||
{
|
||
"name": "sec-ch-ua-platform",
|
||
"value": "\"Windows\""
|
||
},
|
||
{
|
||
"name": "Upgrade-Insecure-Requests",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"name": "User-Agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36"
|
||
},
|
||
{
|
||
"name": "Accept",
|
||
"value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-Site",
|
||
"value": "same-origin"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-Mode",
|
||
"value": "navigate"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-User",
|
||
"value": "?1"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-Dest",
|
||
"value": "document"
|
||
},
|
||
{
|
||
"name": "Referer",
|
||
"value": "https://51acg.buzz/member.php?mod=register"
|
||
},
|
||
{
|
||
"name": "Accept-Encoding",
|
||
"value": "gzip, deflate, br"
|
||
},
|
||
{
|
||
"name": "Accept-Language",
|
||
"value": "zh-CN,zh;q=0.9"
|
||
},
|
||
{
|
||
"name": "Cookie",
|
||
"value": "{{cookie}}"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": "",
|
||
"mimeType": ""
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "formhash",
|
||
"re": "name=\"formhash\" value=\"(.+)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "签到",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://51acg.buzz/k_misign-sign.html?operation=qiandao&format=button&formhash={{formhash|urlencode}}&inajax=1&ajaxtarget=midaben_sign",
|
||
"headers": [
|
||
{
|
||
"name": "Host",
|
||
"value": "51acg.buzz"
|
||
},
|
||
{
|
||
"name": "Connection",
|
||
"value": "keep-alive"
|
||
},
|
||
{
|
||
"name": "sec-ch-ua",
|
||
"value": "\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\""
|
||
},
|
||
{
|
||
"name": "X-Requested-With",
|
||
"value": "XMLHttpRequest"
|
||
},
|
||
{
|
||
"name": "sec-ch-ua-mobile",
|
||
"value": "?0"
|
||
},
|
||
{
|
||
"name": "User-Agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36"
|
||
},
|
||
{
|
||
"name": "sec-ch-ua-platform",
|
||
"value": "\"Windows\""
|
||
},
|
||
{
|
||
"name": "Accept",
|
||
"value": "*/*"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-Site",
|
||
"value": "same-origin"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-Mode",
|
||
"value": "cors"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-Dest",
|
||
"value": "empty"
|
||
},
|
||
{
|
||
"name": "Referer",
|
||
"value": "https://51acg.buzz/"
|
||
},
|
||
{
|
||
"name": "Accept-Encoding",
|
||
"value": "gzip, deflate, br"
|
||
},
|
||
{
|
||
"name": "Accept-Language",
|
||
"value": "zh-CN,zh;q=0.9"
|
||
},
|
||
{
|
||
"name": "Cookie",
|
||
"value": "{{cookie}}"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": "",
|
||
"mimeType": ""
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [
|
||
{
|
||
"re": "您当前的访问请求当中含有非法字符,已经被系统拒绝",
|
||
"from": "content"
|
||
}
|
||
],
|
||
"extract_variables": [
|
||
{
|
||
"name": "msg",
|
||
"re": "[\\u4e00-\\u9fa5]+",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "签到天数\n",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://51acg.buzz/k_misign-sign.html",
|
||
"headers": [
|
||
{
|
||
"name": "Referer",
|
||
"value": "https://51acg.buzz/"
|
||
},
|
||
{
|
||
"name": "User-Agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": ""
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "qdts",
|
||
"re": "<input type=\"hidden\" class=\"hidnum\" id=\"lxdays\" value=\"(\\d+)",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "zts",
|
||
"re": "<input type=\"hidden\" class=\"hidnum\" id=\"lxtdays\" value=\"(\\d+)",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "积分页",
|
||
"request": {
|
||
"method": "GET",
|
||
"url": "https://51acg.buzz/home.php?mod=spacecp&ac=credit&showcredit=1",
|
||
"headers": [
|
||
{
|
||
"name": "Host",
|
||
"value": "51acg.buzz"
|
||
},
|
||
{
|
||
"name": "Connection",
|
||
"value": "keep-alive"
|
||
},
|
||
{
|
||
"name": "Cache-Control",
|
||
"value": "max-age=0"
|
||
},
|
||
{
|
||
"name": "sec-ch-ua",
|
||
"value": "\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\""
|
||
},
|
||
{
|
||
"name": "sec-ch-ua-mobile",
|
||
"value": "?0"
|
||
},
|
||
{
|
||
"name": "sec-ch-ua-platform",
|
||
"value": "\"Windows\""
|
||
},
|
||
{
|
||
"name": "Upgrade-Insecure-Requests",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"name": "User-Agent",
|
||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36"
|
||
},
|
||
{
|
||
"name": "Accept",
|
||
"value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
|
||
},
|
||
{
|
||
"name": "Sec-Fetch-Site",
|
||
"value": "same-origin"
|
||
},
|
||
{
|
||
"name": "Accept-Encoding",
|
||
"value": "gzip, deflate, br"
|
||
},
|
||
{
|
||
"name": "Accept-Language",
|
||
"value": "zh-CN,zh;q=0.9"
|
||
},
|
||
{
|
||
"name": "Cookie",
|
||
"value": "{{cookie}}"
|
||
}
|
||
],
|
||
"cookies": [],
|
||
"data": "",
|
||
"mimeType": ""
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
}
|
||
],
|
||
"failed_asserts": [
|
||
{
|
||
"re": "302",
|
||
"from": "content"
|
||
}
|
||
],
|
||
"extract_variables": [
|
||
{
|
||
"name": "jb",
|
||
"re": "<em> 金币: </em>(\\d+)",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "gx",
|
||
"re": "<li><em> 贡献: </em>(\\d+)",
|
||
"from": "content"
|
||
},
|
||
{
|
||
"name": "jifen",
|
||
"re": "<li class=\"cl\"><em>积分: </em>(\\d+)",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"comment": "Unicode转换",
|
||
"request": {
|
||
"method": "POST",
|
||
"url": "api://util/unicode",
|
||
"headers": [],
|
||
"cookies": [],
|
||
"data": "html_unescape=false&content=签到状态:{{msg}},金币:{{jb}},贡献:{{gx}},积分:{{jifen}}。\\r\\n连续签到:{{qdts}}天,总天数:{{zts}}天。"
|
||
},
|
||
"rule": {
|
||
"success_asserts": [
|
||
{
|
||
"re": "200",
|
||
"from": "status"
|
||
},
|
||
{
|
||
"re": "\"状态\": \"200\"",
|
||
"from": "content"
|
||
}
|
||
],
|
||
"failed_asserts": [],
|
||
"extract_variables": [
|
||
{
|
||
"name": "__log__",
|
||
"re": "\"转换后\": \"(.*)\"",
|
||
"from": "content"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
] |