mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 19:59:20 +00:00
Add HAR: 多看聚影 (#824)
Co-authored-by: a76yyyy <a76yyyy@users.noreply.github.com>
This commit is contained in:
parent
d999b909b1
commit
f698c3036d
File diff suppressed because one or more lines are too long
519
多看聚影.har
Normal file
519
多看聚影.har
Normal file
|
@ -0,0 +1,519 @@
|
|||
[
|
||||
{
|
||||
"comment": "获取formhash,loginhash",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://duokan.club/member.php?mod=logging&action=login&infloat=yes&handlekey=login&inajax=1&ajaxtarget=fwin_content_login",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Host",
|
||||
"value": "duokan.club"
|
||||
},
|
||||
{
|
||||
"name": "Connection",
|
||||
"value": "keep-alive"
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua",
|
||||
"value": "\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""
|
||||
},
|
||||
{
|
||||
"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/131.0.0.0 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.7"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Site",
|
||||
"value": "none"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Mode",
|
||||
"value": "navigate"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-User",
|
||||
"value": "?1"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Dest",
|
||||
"value": "document"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Encoding",
|
||||
"value": "gzip, deflate, br, zstd"
|
||||
},
|
||||
{
|
||||
"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": "formhash",
|
||||
"re": "<input type=\"hidden\" name=\"formhash\" value=\"(.+)\"",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "loginhash",
|
||||
"re": "loginhash=(.+)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "登录",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://duokan.club/member.php?mod=logging&action=login&loginsubmit=yes&handlekey=login&loginhash={{loginhash|urlencode}}&inajax=1",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Host",
|
||||
"value": "duokan.club"
|
||||
},
|
||||
{
|
||||
"name": "Connection",
|
||||
"value": "keep-alive"
|
||||
},
|
||||
{
|
||||
"name": "Cache-Control",
|
||||
"value": "max-age=0"
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua",
|
||||
"value": "\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua-mobile",
|
||||
"value": "?0"
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua-platform",
|
||||
"value": "\"Windows\""
|
||||
},
|
||||
{
|
||||
"name": "Origin",
|
||||
"value": "https://duokan.club"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/x-www-form-urlencoded"
|
||||
},
|
||||
{
|
||||
"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/131.0.0.0 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.7"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Site",
|
||||
"value": "same-origin"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Mode",
|
||||
"value": "navigate"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-User",
|
||||
"value": "?1"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Dest",
|
||||
"value": "iframe"
|
||||
},
|
||||
{
|
||||
"name": "Referer",
|
||||
"value": "https://duokan.club/"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Encoding",
|
||||
"value": "gzip, deflate, br, zstd"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Language",
|
||||
"value": "zh-CN,zh;q=0.9"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "formhash={{formhash|urlencode}}&referer=https%3A%2F%2Fduokan.club%2F&loginfield=username&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": [
|
||||
{
|
||||
"re": "登录失败",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "获取sign",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://duokan.club/sign.php",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Host",
|
||||
"value": "duokan.club"
|
||||
},
|
||||
{
|
||||
"name": "Connection",
|
||||
"value": "keep-alive"
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua",
|
||||
"value": "\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""
|
||||
},
|
||||
{
|
||||
"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/131.0.0.0 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.7"
|
||||
},
|
||||
{
|
||||
"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://duokan.club/"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Encoding",
|
||||
"value": "gzip, deflate, br, zstd"
|
||||
},
|
||||
{
|
||||
"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": "sign",
|
||||
"re": "<input type=\"hidden\" name=\"formhash\" value=\"(.+)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "签到",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://duokan.club/sign.php?sign={{sign|urlencode}}",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Host",
|
||||
"value": "duokan.club"
|
||||
},
|
||||
{
|
||||
"name": "Connection",
|
||||
"value": "keep-alive"
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua",
|
||||
"value": "\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""
|
||||
},
|
||||
{
|
||||
"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/131.0.0.0 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.7"
|
||||
},
|
||||
{
|
||||
"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://duokan.club/sign.php"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Encoding",
|
||||
"value": "gzip, deflate, br, zstd"
|
||||
},
|
||||
{
|
||||
"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": "msg",
|
||||
"re": "<div id=\"messagetext\" class=\"alert_info\">[\\s|\\S]*?<p>(.*?)<script",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "msg1",
|
||||
"re": "<div id=\"messagetext\" class=\"alert_error\">[\\s|\\S]*?<p>(.*?)</p>",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "获取信息",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://duokan.club/sign.php",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Host",
|
||||
"value": "duokan.club"
|
||||
},
|
||||
{
|
||||
"name": "Connection",
|
||||
"value": "keep-alive"
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua",
|
||||
"value": "\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""
|
||||
},
|
||||
{
|
||||
"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/131.0.0.0 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.7"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Site",
|
||||
"value": "same-origin"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Mode",
|
||||
"value": "navigate"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Dest",
|
||||
"value": "document"
|
||||
},
|
||||
{
|
||||
"name": "Referer",
|
||||
"value": "https://duokan.club/sign.php?sign={{sign}}"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Encoding",
|
||||
"value": "gzip, deflate, br, zstd"
|
||||
},
|
||||
{
|
||||
"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": "zjdk",
|
||||
"re": "<li>最近打卡:(.+)</li>",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "bydk",
|
||||
"re": "<li>本月打卡:(.+)</li>",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "lxdk",
|
||||
"re": "<li>连续打卡:(.+)</li>",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "ljdk",
|
||||
"re": "<li>累计打卡:(.+)</li>",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "ljjl",
|
||||
"re": "<li>累计奖励:(.+)</li>",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "zjjl",
|
||||
"re": "<li>最近奖励:(.+)</li><",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "dkdj",
|
||||
"re": "li>当前打卡等级:(.+)</li>",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "Unicode转换",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/unicode",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "html_unescape=false&content=签到状态:{{msg}}{{msg1}}\\r\\n最近打卡:{{zjdk}}\\r\\n本月打卡:{{bydk}},连续打卡:{{lxdk}},累计打卡:{{ljdk}}。\\r\\n累计奖励:{{ljjl}},最近奖励:{{zjjl}}。\\r\\n当前打卡等级:{{dkdj}}。"
|
||||
},
|
||||
"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