Add HAR: X社区签到 (#736)

Co-authored-by: AIcxx <AIcxx@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-09-22 09:41:12 +08:00 committed by GitHub
parent 89c3050563
commit 8ae3c958c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 343 additions and 0 deletions

File diff suppressed because one or more lines are too long

331
x社区签到.har Normal file
View File

@ -0,0 +1,331 @@
[
{
"comment": "登录",
"request": {
"method": "GET",
"url": "https://bbs.upkk.com/plugin.php?id=yinxingfei_zzza%3Ayinxingfei_zzza_hall&yjjs=yes",
"headers": [
{
"name": "Host",
"value": "bbs.upkk.com"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Cache-Control",
"value": "max-age=0"
},
{
"name": "sec-ch-ua",
"value": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"101\""
},
{
"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/101.0.4951.64 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.9"
},
{
"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://bbs.upkk.com/plugin.php?id=yinxingfei_zzza:yinxingfei_zzza_hall"
},
{
"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"
},
{
"name": "lx",
"re": "连续摇奖<span class=\"zzza_hall_top_left_infor_num\">(.+)</span>天",
"from": "content"
},
{
"name": "lj",
"re": "累积摇奖<span class=\"zzza_hall_top_left_infor_num\">(.+)</span>天",
"from": "content"
},
{
"name": "hd",
"re": "获得<span class=\"zzza_hall_top_left_infor_num\">(.+)</span>叶子",
"from": "content"
}
]
}
},
{
"comment": "积分页",
"request": {
"method": "GET",
"url": "https://bbs.upkk.com/home.php?mod=spacecp&ac=credit&showcredit=1",
"headers": [
{
"name": "Host",
"value": "bbs.upkk.com"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Cache-Control",
"value": "max-age=0"
},
{
"name": "sec-ch-ua",
"value": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"101\""
},
{
"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/101.0.4951.64 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.9"
},
{
"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://bbs.upkk.com/plugin.php?id=yinxingfei_zzza:yinxingfei_zzza_hall"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Accept-Language",
"value": "zh-CN,zh;q=0.9"
}
],
"cookies": [],
"data": "",
"mimeType": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "yz",
"re": "<em> 叶子: </em>(.+) &nbsp;",
"from": "content"
}
]
}
},
{
"comment": "签到",
"request": {
"method": "POST",
"url": "https://bbs.upkk.com/plugin.php?id=yinxingfei_zzza%3Ayinxingfei_zzza_post",
"headers": [
{
"name": "Host",
"value": "bbs.upkk.com"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Content-Length",
"value": "17"
},
{
"name": "Cache-Control",
"value": "max-age=0"
},
{
"name": "sec-ch-ua",
"value": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"101\""
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "sec-ch-ua-platform",
"value": "\"Windows\""
},
{
"name": "Upgrade-Insecure-Requests",
"value": "1"
},
{
"name": "Origin",
"value": "https://bbs.upkk.com"
},
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 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.9"
},
{
"name": "Sec-Fetch-Site",
"value": "same-origin"
},
{
"name": "Sec-Fetch-Mode",
"value": "navigate"
},
{
"name": "Sec-Fetch-Dest",
"value": "document"
},
{
"name": "Referer",
"value": "https://bbs.upkk.com/plugin.php?id=yinxingfei_zzza:yinxingfei_zzza_hall&yjjs=yes"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Accept-Language",
"value": "zh-CN,zh;q=0.9"
}
],
"cookies": [],
"data": "formhash={{formhash|urlencode}}",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "formhash",
"re": "name=\"formhash\" value=\"(.+)\"",
"from": "content"
}
]
}
},
{
"comment": "Unicode转换",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "content=签到情况:今天获得:【{{hd}}】叶子,连续签到:【{{lx}}】天,累计签到:【{{lj}}】天,总【{{yz}}】叶子"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]