Update HAR: 爱桌游 (#787)

Co-authored-by: chen8945 <chen8945@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-11-06 22:46:47 +08:00 committed by GitHub
parent b72efb5037
commit 5ffd17e13e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 210 additions and 93 deletions

File diff suppressed because one or more lines are too long

View File

@ -2,84 +2,98 @@
{
"request": {
"method": "POST",
"url": "https://www.zhuoyoux.com/wp-admin/admin-ajax.php",
"url": "https://www.zhuoyoux.com/lzy/login",
"headers": [
{
"name": "origin",
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0"
},
{
"name": "Accept",
"value": "application/json, text/plain, */*"
},
{
"name": "Accept-Language",
"value": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br, zstd"
},
{
"name": "Content-Type",
"value": "application/json;charset=UTF-8"
},
{
"name": "ywj",
"value": "ywj"
},
{
"name": "Origin",
"value": "https://www.zhuoyoux.com"
},
{
"name": "referer",
"name": "DNT",
"value": "1"
},
{
"name": "Sec-GPC",
"value": "1"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Referer",
"value": "https://www.zhuoyoux.com/"
},
{
"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": "Sec-Fetch-Dest",
"value": "empty"
},
{
"name": "Sec-Fetch-Mode",
"value": "cors"
},
{
"name": "Sec-Fetch-Site",
"value": "same-origin"
},
{
"name": "Priority",
"value": "u=0"
},
{
"name": "Pragma",
"value": "no-cache"
},
{
"name": "Cache-Control",
"value": "no-cache"
}
],
"cookies": [],
"data": "action=user_login&username={{username|urlencode}}&password={{password|urlencode}}&rememberme=1",
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
"data": "{\"username\":\"{{username}}\",\"password\":\"{{password}}\"}",
"mimeType": "application/json;charset=UTF-8"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\\\\u767b\\\\u5f55\\\\u6210\\\\u529f",
"from": "content"
},
{
"re": "400",
"from": "status"
}
],
"failed_asserts": [
{
"re": "\\\\u8bf7\\\\u8f93\\\\u5165\\\\u767b\\\\u5f55\\\\u8d26\\\\u53f7\\\\u6216\\\\u5bc6\\\\u7801",
"from": "content"
},
{
"re": "\\\\u7528\\\\u6237\\\\u540d\\\\u6216\\\\u5bc6\\\\u7801\\\\u9519\\\\u8bef",
"from": "content"
}
],
"extract_variables": []
}
},
{
"comment": "",
"request": {
"method": "GET",
"url": "https://www.zhuoyoux.com/user/",
"headers": [
{
"name": "referer",
"value": "https://www.zhuoyoux.com/"
},
{
"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",
"re": "403",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "nonce",
"re": "data-nonce=\"(.*?)\"",
"name": "token",
"re": "\"token\":\"(.+?)\"",
"from": "content"
}
]
@ -87,25 +101,75 @@
},
{
"request": {
"method": "POST",
"url": "https://www.zhuoyoux.com/wp-admin/admin-ajax.php",
"method": "GET",
"url": "https://www.zhuoyoux.com/lzy/user/sign",
"headers": [
{
"name": "origin",
"value": "https://www.zhuoyoux.com"
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0"
},
{
"name": "referer",
"value": "https://www.zhuoyoux.com/user"
"name": "Accept",
"value": "application/json, text/plain, */*"
},
{
"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": "Accept-Language",
"value": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br, zstd"
},
{
"name": "ywj",
"value": "ywj"
},
{
"name": "Authorization",
"value": "{{token}}"
},
{
"name": "DNT",
"value": "1"
},
{
"name": "Sec-GPC",
"value": "1"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Referer",
"value": "https://www.zhuoyoux.com/"
},
{
"name": "Sec-Fetch-Dest",
"value": "empty"
},
{
"name": "Sec-Fetch-Mode",
"value": "cors"
},
{
"name": "Sec-Fetch-Site",
"value": "same-origin"
},
{
"name": "Priority",
"value": "u=0"
},
{
"name": "Pragma",
"value": "no-cache"
},
{
"name": "Cache-Control",
"value": "no-cache"
}
],
"cookies": [],
"data": "action=user_qiandao&nonce={{nonce}}",
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
"cookies": []
},
"rule": {
"success_asserts": [
@ -114,43 +178,91 @@
"from": "status"
},
{
"re": "\\\\u4eca\\\\u65e5\\\\u5df2\\\\u7b7e\\\\u5230\\\\uff0c\\\\u8bf7\\\\u660e\\\\u65e5\\\\u518d\\\\u6765",
"from": "content"
}
],
"failed_asserts": [
{
"re": "\\\\u975e\\\\u6cd5\\\\u8bf7\\\\u6c42\\\\uff0c\\\\u8bf7\\\\u5237\\\\u65b0\\\\u91cd\\\\u8bd5",
"re": "您已经签到过了",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "msg",
"re": "\"msg\":\"(.*)\"",
"name": "qd_back",
"re": "data\":\"(.*?)\"",
"from": "content"
}
]
}
},
{
"comment": "",
"request": {
"method": "GET",
"url": "https://www.zhuoyoux.com/user/",
"url": "https://www.zhuoyoux.com/lzy/user/information",
"headers": [
{
"name": "referer",
"value": "https://www.zhuoyoux.com/"
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0"
},
{
"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": "Accept",
"value": "application/json, text/plain, */*"
},
{
"name": "Accept-Language",
"value": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br, zstd"
},
{
"name": "ywj",
"value": "ywj"
},
{
"name": "Authorization",
"value": "{{token}}"
},
{
"name": "DNT",
"value": "1"
},
{
"name": "Sec-GPC",
"value": "1"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Referer",
"value": "https://www.zhuoyoux.com/user?id=1"
},
{
"name": "Sec-Fetch-Dest",
"value": "empty"
},
{
"name": "Sec-Fetch-Mode",
"value": "cors"
},
{
"name": "Sec-Fetch-Site",
"value": "same-origin"
},
{
"name": "Priority",
"value": "u=0"
},
{
"name": "Pragma",
"value": "no-cache"
},
{
"name": "Cache-Control",
"value": "no-cache"
}
],
"cookies": [],
"data": "",
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
"cookies": []
},
"rule": {
"success_asserts": [
@ -159,21 +271,26 @@
"from": "status"
}
],
"failed_asserts": [],
"failed_asserts": [
{
"re": "403",
"from": "status"
}
],
"extract_variables": [
{
"name": "name",
"re": "<span class=\"mx-display-name\">(.*?)<span",
"name": "money",
"re": "money\":\"(.*?)\"",
"from": "content"
},
{
"name": "ye",
"re": "当前余额:(.*)</p>",
"name": "nickname",
"re": "nickname\":\"(.*?)\"",
"from": "content"
},
{
"name": "xf",
"re": "累计消费:(.*)</p>",
"name": "email",
"re": "email\":\"(.*?)\"",
"from": "content"
}
]
@ -186,7 +303,7 @@
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "content=用户名:{{name}}\\r\\n 当前余额:{{ye}},累计消费:{{xf}}\\r\\n 签到结果:{{msg}}"
"data": "html_unescape=false&content=昵称:{{nickname}}\\r\\n邮箱{{email}}\\r\\n当前米宝{{money}}\\r\\n签到结果{{qd_back}}"
},
"rule": {
"success_asserts": [