Add HAR: 搜书吧.har

This commit is contained in:
13935092526 2025-03-19 08:59:53 +08:00 committed by GitHub
parent b942262804
commit 66cf9fc31a
2 changed files with 439 additions and 0 deletions

File diff suppressed because one or more lines are too long

427
搜书吧.har Normal file
View File

@ -0,0 +1,427 @@
[
{
"comment": "获取网址",
"request": {
"method": "GET",
"url": "http://2503--1821.0318.165.soushufabu.top:2228/o/?sigin=428800JpmpmVx28800000000PRC32E5pm",
"headers": [
{
"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": "Accept-Encoding",
"value": "gzip, deflate"
},
{
"name": "Accept-Language",
"value": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
},
{
"name": "Cache-Control",
"value": "no-cache"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Pragma",
"value": "no-cache"
},
{
"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/134.0.0.0 Safari/537.36 Edg/134.0.0.0"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "404",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "url",
"re": "href=[\"\\'](https?://[^\"\\']+)[\"\\']",
"from": "content"
}
]
}
},
{
"comment": " 获取hash",
"request": {
"method": "GET",
"url": "{{url}}member.php?mod=logging&action=login&infloat=yes&handlekey=login&inajax=1&ajaxtarget=fwin_content_login",
"headers": [
{
"name": ":authority",
"value": "b6d.vb.2bhrg1e54.com"
},
{
"name": ":method",
"value": "GET"
},
{
"name": ":path",
"value": "/member.php?mod=logging&action=login&infloat=yes&handlekey=login&inajax=1&ajaxtarget=fwin_content_login"
},
{
"name": ":scheme",
"value": "https"
},
{
"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": "accept-encoding",
"value": "gzip, deflate, br, zstd"
},
{
"name": "accept-language",
"value": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
},
{
"name": "cache-control",
"value": "no-cache"
},
{
"name": "pragma",
"value": "no-cache"
},
{
"name": "priority",
"value": "u=0, i"
},
{
"name": "sec-ch-ua",
"value": "\"Chromium\";v=\"134\", \"Not:A-Brand\";v=\"24\", \"Microsoft Edge\";v=\"134\""
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "sec-ch-ua-platform",
"value": "\"Windows\""
},
{
"name": "sec-fetch-dest",
"value": "document"
},
{
"name": "sec-fetch-mode",
"value": "navigate"
},
{
"name": "sec-fetch-site",
"value": "none"
},
{
"name": "sec-fetch-user",
"value": "?1"
},
{
"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/134.0.0.0 Safari/537.36 Edg/134.0.0.0"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "loginhash",
"re": "loginhash=(.*)\">",
"from": "content"
},
{
"name": "formhash",
"re": "formhash\" value=\"(.*)\"",
"from": "content"
}
]
}
},
{
"comment": "登陆自动签到",
"request": {
"method": "POST",
"url": "{{url}}member.php?mod=logging&action=login&loginsubmit=yes&handlekey=register&loginhash={{loginhash|urlencode}}&inajax=1",
"headers": [
{
"name": ":authority",
"value": "b6d.vb.2bhrg1e54.com"
},
{
"name": ":method",
"value": "POST"
},
{
"name": ":path",
"value": "/member.php?mod=logging&action=login&loginsubmit=yes&handlekey=register&loginhash=LBl50&inajax=1"
},
{
"name": ":scheme",
"value": "https"
},
{
"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": "accept-encoding",
"value": "gzip, deflate, br, zstd"
},
{
"name": "accept-language",
"value": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
},
{
"name": "cache-control",
"value": "no-cache"
},
{
"name": "content-type",
"value": "application/x-www-form-urlencoded"
},
{
"name": "origin",
"value": "https://b6d.vb.2bhrg1e54.com"
},
{
"name": "pragma",
"value": "no-cache"
},
{
"name": "priority",
"value": "u=0, i"
},
{
"name": "referer",
"value": "https://b6d.vb.2bhrg1e54.com/forum.php?"
},
{
"name": "sec-ch-ua",
"value": "\"Chromium\";v=\"134\", \"Not:A-Brand\";v=\"24\", \"Microsoft Edge\";v=\"134\""
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "sec-ch-ua-platform",
"value": "\"Windows\""
},
{
"name": "sec-fetch-dest",
"value": "iframe"
},
{
"name": "sec-fetch-mode",
"value": "navigate"
},
{
"name": "sec-fetch-site",
"value": "same-origin"
},
{
"name": "sec-fetch-user",
"value": "?1"
},
{
"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/134.0.0.0 Safari/537.36 Edg/134.0.0.0"
}
],
"cookies": [],
"data": "formhash={{formhash|urlencode}}&referer={{url|urlencode}}forum.php&username={{username|urlencode}}&password={{password|urlencode}}&questionid=0&answer=",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "欢迎您回来",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": " 获取数据",
"request": {
"method": "GET",
"url": "{{url}}home.php?mod=spacecp&ac=credit&op=log&suboperation=creditrulelog",
"headers": [
{
"name": ":authority",
"value": "b6d.vb.2bhrg1e54.com"
},
{
"name": ":method",
"value": "GET"
},
{
"name": ":path",
"value": "/home.php?mod=spacecp&ac=credit&op=log&suboperation=creditrulelog"
},
{
"name": ":scheme",
"value": "https"
},
{
"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": "accept-encoding",
"value": "gzip, deflate, br, zstd"
},
{
"name": "accept-language",
"value": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
},
{
"name": "cache-control",
"value": "no-cache"
},
{
"name": "pragma",
"value": "no-cache"
},
{
"name": "priority",
"value": "u=0, i"
},
{
"name": "referer",
"value": "https://b6d.vb.2bhrg1e54.com/home.php?mod=spacecp&ac=credit&op=log"
},
{
"name": "sec-ch-ua",
"value": "\"Chromium\";v=\"134\", \"Not:A-Brand\";v=\"24\", \"Microsoft Edge\";v=\"134\""
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "sec-ch-ua-platform",
"value": "\"Windows\""
},
{
"name": "sec-fetch-dest",
"value": "document"
},
{
"name": "sec-fetch-mode",
"value": "navigate"
},
{
"name": "sec-fetch-site",
"value": "same-origin"
},
{
"name": "sec-fetch-user",
"value": "?1"
},
{
"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/134.0.0.0 Safari/537.36 Edg/134.0.0.0"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "signsum",
"re": "每天登录<\\/a><\\/td>\\s*<td[^>]*>(\\d+)<\\/td>",
"from": "content"
},
{
"name": "signcoin",
"re": "每天登录<\\/a><\\/td>\\s*<td[^>]*>\\d+<\\/td>\\s*<td[^>]*>\\d+<\\/td>\\s*<td[^>]*>(.*)<\\/td>",
"from": "content"
},
{
"name": "signtime",
"re": "每天登录<\\/a><\\/td>\\s*<td[^>]*>.*<\\/td>\\s*<td[^>]*>.*<\\/td>\\s*<td[^>]*>(.*)<\\/td>",
"from": "content"
}
]
}
},
{
"comment": " 日志",
"request": {
"method": "POST",
"url": "api://util/string/replace",
"headers": [],
"cookies": [],
"data": "r=json&p=&s=&t=\\r\\n签到天数{{signsum}}\\r\\n银币%2B{{signcoin}}\\r\\n签到时间{{signtime}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"OK\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"处理后字符串\": \"(.*)\"",
"from": "content"
}
]
}
}
]