templates/SteamTools论坛.har
github-actions[bot] 87d51bd186
Update HAR: SteamTools论坛 (#857)
Co-authored-by: chen8945 <chen8945@users.noreply.github.com>
Co-authored-by: chen8945 <44148812+chen8945@users.noreply.github.com>
2025-01-25 12:53:55 +08:00

197 lines
6.3 KiB
JSON
Raw Permalink 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.

[
{
"request": {
"method": "GET",
"url": "https://bbs.steamtools.net/plugin.php?id=dc_signin:sign&infloat=yes&handlekey=sign&inajax=1&ajaxtarget=fwin_content_sign",
"headers": [
{
"name": "Host",
"value": "bbs.steamtools.net"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36"
},
{
"name": "Referer",
"value": "https://bbs.steamtools.net/"
},
{
"name": "Cookie",
"value": "{{cookie}}"
}
],
"cookies": [],
"data": "",
"mimeType": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [
{
"re": "您尚未登录",
"from": "content"
}
],
"extract_variables": [
{
"name": "formhash",
"re": "name=\"formhash\" value=\"(.+)\"",
"from": "content"
}
]
}
},
{
"request": {
"method": "POST",
"url": "https://bbs.steamtools.net/plugin.php?id=dc_signin:sign&inajax=1",
"headers": [
{
"name": "Host",
"value": "bbs.steamtools.net"
},
{
"name": "Origin",
"value": "https://bbs.steamtools.net"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36"
},
{
"name": "Referer",
"value": "https://bbs.steamtools.net/"
}
],
"cookies": [],
"data": "formhash={{formhash}}&signsubmit=yes&handlekey=signin&emotid=9&referer=https%3A%2F%2Fbbs.steamtools.net%2F&content=%E4%B8%8D%E5%BF%85%E8%BD%AC%E5%A4%B4%E5%B0%B1%E5%8F%AF%E4%BB%A5%E7%9C%8B%E7%9A%84%E7%AC%91%E8%84%B8%E3%80%82%E6%88%96%E6%98%AF%E4%B8%80%E5%8F%AA%E5%8F%AF%E7%88%B1%E7%9A%84%E5%B0%8F%E4%B8%8D%E7%82%B9%7E%7E",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "msg",
"re": "signin', '(.+)'",
"from": "content"
}
]
}
},
{
"comment": "",
"request": {
"method": "GET",
"url": "https://bbs.steamtools.net/plugin.php?id=dc_signin",
"headers": [
{
"name": "Host",
"value": "bbs.steamtools.net"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36"
},
{
"name": "Referer",
"value": "https://bbs.steamtools.net/"
}
],
"cookies": [],
"data": "",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [
{
"re": "您尚未登录",
"from": "content"
}
],
"extract_variables": [
{
"name": "ljqd",
"re": "您累计已签到.*",
"from": "content"
},
{
"name": "byqd",
"re": "您本月已累计签到.*",
"from": "content"
},
{
"name": "scqd",
"re": "您上次签到时间.*",
"from": "content"
},
{
"name": "zjl",
"re": "您目前获得的总奖励.*",
"from": "content"
},
{
"name": "mqdj",
"re": "您目前的等级.*",
"from": "content"
},
{
"name": "name",
"re": "class=\"user_avatar\">(.+)</a>",
"from": "content"
}
]
}
},
{
"comment": "Unicode转换",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "html_unescape=false&content={{msg}}\\r\\n {{name}}{{ljqd | striptags}}\\r\\n {{byqd | striptags}}\\r\\n {{scqd | striptags}}\\r\\n {{zjl | striptags}}\\r\\n {{mqdj | striptags}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]