Add HAR: u2动漫花园 (#854)

Co-authored-by: nuu987 <nuu987@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2025-02-11 23:01:41 +08:00 committed by GitHub
parent 267d00106d
commit ebbd31a39a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 367 additions and 0 deletions

355
U2动漫花园.har Normal file
View File

@ -0,0 +1,355 @@
[
{
"comment": "获取问题信息",
"request": {
"method": "GET",
"url": "https://u2.dmhy.org/showup.php",
"headers": [
{
"name": ":authority",
"value": "u2.dmhy.org"
},
{
"name": ":method",
"value": "GET"
},
{
"name": ":path",
"value": "/showup.php"
},
{
"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-TW;q=0.9,zh;q=0.8,en;q=0.7,gom;q=0.6,et;q=0.5"
},
{
"name": "cache-control",
"value": "no-cache"
},
{
"name": "dnt",
"value": "1"
},
{
"name": "pragma",
"value": "no-cache"
},
{
"name": "priority",
"value": "u=0, i"
},
{
"name": "referer",
"value": "https://u2.dmhy.org/showup.php"
},
{
"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": "sec-fetch-dest",
"value": "document"
},
{
"name": "sec-fetch-mode",
"value": "navigate"
},
{
"name": "sec-fetch-site",
"value": "same-origin"
},
{
"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": "cookie",
"value": "{{cookie}}"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [
{
"re": "感谢,今天已签到。",
"from": "content"
}
],
"extract_variables": [
{
"name": "req",
"re": "(?<=name=\"req\"\\svalue=\").+(?=\"\\s\\/.+hash)",
"from": "content"
},
{
"name": "Hash",
"re": "(?<=name=\"hash\"\\svalue=\").+(?=\"\\s\\/.+form)",
"from": "content"
},
{
"name": "form",
"re": "(?<=form\"\\svalue=\").+(?=\" \\/)",
"from": "content"
},
{
"name": "captcha",
"re": "(?<=<input type=\"submit\" name=\").*(?=\"\\sv)",
"from": "content"
},
{
"name": "captcha_content",
"re": "(?<=\" value=\").*(?=\" /><b)",
"from": "content"
}
]
}
},
{
"request": {
"method": "POST",
"url": "https://u2.dmhy.org/showup.php?action=show",
"headers": [
{
"name": ":authority",
"value": "u2.dmhy.org"
},
{
"name": ":method",
"value": "POST"
},
{
"name": ":path",
"value": "/showup.php?action=show"
},
{
"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-TW;q=0.9,zh;q=0.8,en;q=0.7,gom;q=0.6,et;q=0.5"
},
{
"name": "cache-control",
"value": "no-cache"
},
{
"name": "content-type",
"value": "application/x-www-form-urlencoded"
},
{
"name": "dnt",
"value": "1"
},
{
"name": "origin",
"value": "https://u2.dmhy.org"
},
{
"name": "pragma",
"value": "no-cache"
},
{
"name": "priority",
"value": "u=0, i"
},
{
"name": "referer",
"value": "https://u2.dmhy.org/showup.php"
},
{
"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": "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/131.0.0.0 Safari/537.36"
}
],
"cookies": [],
"data": "message=%E9%9A%8F%E7%BC%98%E5%95%A6%EF%BC%8C%E5%B0%B1%E6%98%AF%E4%BD%A0%E5%95%A6&req={{req}}&hash={{Hash}}&form={{form}}&{{captcha}}={{captcha_content|urlencode}}",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "获取签到结果",
"request": {
"method": "GET",
"url": "https://u2.dmhy.org/showup.php",
"headers": [
{
"name": ":authority",
"value": "u2.dmhy.org"
},
{
"name": ":method",
"value": "GET"
},
{
"name": ":path",
"value": "/showup.php"
},
{
"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-TW;q=0.9,zh;q=0.8,en;q=0.7,gom;q=0.6,et;q=0.5"
},
{
"name": "cache-control",
"value": "no-cache"
},
{
"name": "dnt",
"value": "1"
},
{
"name": "pragma",
"value": "no-cache"
},
{
"name": "priority",
"value": "u=0, i"
},
{
"name": "referer",
"value": "https://u2.dmhy.org/showup.php"
},
{
"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": "sec-fetch-dest",
"value": "document"
},
{
"name": "sec-fetch-mode",
"value": "navigate"
},
{
"name": "sec-fetch-site",
"value": "same-origin"
},
{
"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": "cookie",
"value": "{{cookie}}"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "感谢,今天已签到。",
"from": "content"
}
]
}
}
]

File diff suppressed because one or more lines are too long