mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-06 16:00:13 +00:00
Merge 22c540f0dc
into 26fc3523aa
This commit is contained in:
commit
5397c39d82
File diff suppressed because one or more lines are too long
354
镜客居.har.har
Normal file
354
镜客居.har.har
Normal file
|
@ -0,0 +1,354 @@
|
|||
[
|
||||
{
|
||||
"comment": "cookie登陆",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://www.jkju.cc/",
|
||||
"headers": [
|
||||
{
|
||||
"name": ":authority",
|
||||
"value": "www.jkju.cc"
|
||||
},
|
||||
{
|
||||
"name": ":method",
|
||||
"value": "GET"
|
||||
},
|
||||
{
|
||||
"name": ":path",
|
||||
"value": "/"
|
||||
},
|
||||
{
|
||||
"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": "cookie",
|
||||
"value": "{{cookie}}"
|
||||
},
|
||||
{
|
||||
"name": "pragma",
|
||||
"value": "no-cache"
|
||||
},
|
||||
{
|
||||
"name": "priority",
|
||||
"value": "u=0, i"
|
||||
},
|
||||
{
|
||||
"name": "referer",
|
||||
"value": "https://www.jkju.cc/plugin.php?id=k_misign:sign"
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua",
|
||||
"value": "\"Not(A:Brand\";v=\"99\", \"Microsoft Edge\";v=\"133\", \"Chromium\";v=\"133\""
|
||||
},
|
||||
{
|
||||
"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/133.0.0.0 Safari/537.36 Edg/133.0.0.0"
|
||||
}
|
||||
],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "formhash",
|
||||
"re": "<input\\s+[^>]*?name\\s*=\\s*[\"']?formhash[\"']?[^>]*?value\\s*=\\s*[\"']?([^\"'\\s>]+)",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "签到",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://www.jkju.cc/plugin.php?id=k_misign%3Asign&operation=qiandao&format=global_usernav_extra&formhash={{formhash|urlencode}}",
|
||||
"headers": [
|
||||
{
|
||||
"name": ":authority",
|
||||
"value": "www.jkju.cc"
|
||||
},
|
||||
{
|
||||
"name": ":method",
|
||||
"value": "GET"
|
||||
},
|
||||
{
|
||||
"name": ":path",
|
||||
"value": "/plugin.php?id=k_misign:sign&operation=qiandao&format=global_usernav_extra&formhash=61399b7f"
|
||||
},
|
||||
{
|
||||
"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": "\"Not(A:Brand\";v=\"99\", \"Microsoft Edge\";v=\"133\", \"Chromium\";v=\"133\""
|
||||
},
|
||||
{
|
||||
"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/133.0.0.0 Safari/537.36 Edg/133.0.0.0"
|
||||
}
|
||||
],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "获取数据",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://www.jkju.cc/plugin.php?id=k_misign%3Asign",
|
||||
"headers": [
|
||||
{
|
||||
"name": ":authority",
|
||||
"value": "www.jkju.cc"
|
||||
},
|
||||
{
|
||||
"name": ":method",
|
||||
"value": "GET"
|
||||
},
|
||||
{
|
||||
"name": ":path",
|
||||
"value": "/plugin.php?id=k_misign:sign"
|
||||
},
|
||||
{
|
||||
"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": "cookie",
|
||||
"value": "Hm_lvt_e3ad30388ff0bdba3e8a713ecc232e52=1740816073,1740988114,1741352831,1741392627; HMACCOUNT=A1D8FE8D8A4908BC; kGCz_2132_saltkey=OY8GtgKQ; kGCz_2132_lastvisit=1741395373; kGCz_2132_auth=dd9a1yKkTc%2BTSw%2BxBeOIY%2F0NshI0KX3hfnw5pjj%2BurCnwzogLkIOTb6ucrHzors3lTkgfRM4OFJd0Torq4fxRQsopQ; kGCz_2132_lastcheckfeed=61549%7C1741399001; kGCz_2132_lip=1.69.217.196%2C1741399001; kGCz_2132_ulastactivity=1741400553%7C0; kGCz_2132_sendmail=1; Hm_lpvt_e3ad30388ff0bdba3e8a713ecc232e52=1741400599; kGCz_2132_lastact=1741400625%09plugin.php%09"
|
||||
},
|
||||
{
|
||||
"name": "pragma",
|
||||
"value": "no-cache"
|
||||
},
|
||||
{
|
||||
"name": "priority",
|
||||
"value": "u=0, i"
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua",
|
||||
"value": "\"Not(A:Brand\";v=\"99\", \"Microsoft Edge\";v=\"133\", \"Chromium\";v=\"133\""
|
||||
},
|
||||
{
|
||||
"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/133.0.0.0 Safari/537.36 Edg/133.0.0.0"
|
||||
}
|
||||
],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "scoin",
|
||||
"re": "<a\\b[^>]*class\\s*=\\s*\"[^\"]*\\bi_moy\\b[^\"]*\"[^>]*>\\s*(\\d+)\\s*<\\/a>",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "lxdagys",
|
||||
"re": "\\bid\\s*=\\s*\"lxdays\"[^>]*value\\s*=\\s*\"([^\"]*)\"",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "lxreward",
|
||||
"re": "\\bid\\s*=\\s*\"lxreward\"[^>]*value\\s*=\\s*\"([^\"]*)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "输出日志",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/unicode",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "html_unescape=false&content=\\r\\n银币+{{lxreward}}\\r\\n银币总数:{{scoin}}\\r\\n连续签到:{{lxdagys}}天"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "\"状态\": \"200\"",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "__log__",
|
||||
"re": "\"转换后\": \"(.*)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user