Update HAR: PtTime (#841)

Co-authored-by: fengymi <fengymi@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2025-01-14 22:41:08 +08:00 committed by GitHub
parent 69134498dd
commit 56053cc83b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 136 additions and 23 deletions

View File

@ -2,7 +2,7 @@
{
"request": {
"method": "GET",
"url": "https://www.pttime.org/attendance.php",
"url": "https://www.pttime.org/attendance.php?id={{uid|urlencode}}",
"headers": [
{
"name": ":method",
@ -79,36 +79,149 @@
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "",
"request": {
"method": "GET",
"url": "https://www.pttime.org/attendance.php?type=list",
"headers": [
{
"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-language",
"value": "zh-CN,zh;q=0.9,en;q=0.8"
},
{
"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.pttime.org/index.php"
},
{
"name": "sec-ch-ua",
"value": "\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""
},
{
"name": "sec-ch-ua-arch",
"value": "\"arm\""
},
{
"name": "sec-ch-ua-bitness",
"value": "\"64\""
},
{
"name": "sec-ch-ua-full-version",
"value": "\"131.0.6778.205\""
},
{
"name": "sec-ch-ua-full-version-list",
"value": "\"Google Chrome\";v=\"131.0.6778.205\", \"Chromium\";v=\"131.0.6778.205\", \"Not_A Brand\";v=\"24.0.0.0\""
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "sec-ch-ua-model",
"value": "\"\""
},
{
"name": "sec-ch-ua-platform",
"value": "\"macOS\""
},
{
"name": "sec-ch-ua-platform-version",
"value": "\"14.0.0\""
},
{
"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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
}
],
"cookies": []
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": [
{
"re": "下载:.*?([\\d.KMGB]+)",
"from": "content",
"name": "xz"
"name": "qd_time",
"re": "签到记录.*?时间:(\\d+-\\d+-\\d+ \\d+:\\d+:\\d+)",
"from": "content"
},
{
"re": "上传:.*?([\\d.KMGB]+)",
"from": "content",
"name": "sc"
"name": "qd_moli",
"re": "签到记录.*?时间:.*?获得魔力值.*?(\\d+)",
"from": "content"
},
{
"name": "qd_lx_days",
"re": "签到记录.*?时间:.*?连续天数.*?(\\d+)",
"from": "content"
},
{
"name": "fxl",
"re": "分享率:</font>(.*?)</span>",
"from": "content",
"name": "fx"
"from": "content"
},
{
"re": "签到获得.*?(\\d+)",
"from": "content",
"name": "qd"
"name": "sc",
"re": "上传:.*?([\\d.KMGB]+)",
"from": "content"
},
{
"name": "xz",
"re": "下载:.*?([\\d.KMGB]+)",
"from": "content"
},
{
"name": "moli",
"re": "使用&说明\\<\\/a\\>\\]:(.*?)\\[<a",
"from": "content",
"name": "ml"
"from": "content"
},
{
"name": "_name",
"re": "class='.+_Name'><b>(.+?)</b>",
"from": "content",
"name": "_name"
"from": "content"
}
]
}
@ -117,7 +230,7 @@
"comment": "unicode转换",
"request": {
"method": "GET",
"url": "api://util/unicode?content=PTtime%EF%BC%9A%E3%80%90%E7%94%A8%E6%88%B7%E5%90%8D%3A{{_name|urlencode}}%E3%80%91%E3%80%90%E9%AD%94%E5%8A%9B%E5%80%BC%3A{{ml|urlencode}}%E3%80%91%E3%80%90%E7%AD%BE%E5%88%B0%E8%8E%B7%E5%BE%97%3A{{qd|urlencode}}%E3%80%91%5Cr%5Cn%E3%80%90%E5%88%86%E4%BA%AB%E7%8E%87%3A{{fx|urlencode}}%E3%80%91%E3%80%90%E4%B8%8A%E4%BC%A0%E9%87%8F%3A{{sc|urlencode}}%E3%80%91%E3%80%90%E4%B8%8B%E8%BD%BD%E9%87%8F%3A{{xz|urlencode}}%E3%80%91",
"url": "api://util/unicode?content=PTtime%EF%BC%9A%E3%80%90%E7%94%A8%E6%88%B7%E5%90%8D%3A{{_name|urlencode}}%E3%80%91%E3%80%90%E9%AD%94%E5%8A%9B%E5%80%BC%3A{{moli|urlencode}}%E3%80%91%E3%80%90%E7%AD%BE%E5%88%B0%E6%97%B6%E9%97%B4%3A{{qd_time|urlencode}}%E3%80%91%E3%80%90%E7%AD%BE%E5%88%B0%E8%8E%B7%E5%BE%97%3A{{qd_moli|urlencode}}%E3%80%91%E3%80%90%E8%BF%9E%E7%BB%AD%E7%AD%BE%E5%88%B0%E6%97%A5%E6%9C%9F%3A%20{{qd_lx_days|urlencode}}%E3%80%91%5Cr%5Cn%E3%80%90%E5%88%86%E4%BA%AB%E7%8E%87%3A{{fxl|urlencode}}%E3%80%91%E3%80%90%E4%B8%8A%E4%BC%A0%E9%87%8F%3A{{sc|urlencode}}%E3%80%91%E3%80%90%E4%B8%8B%E8%BD%BD%E9%87%8F%3A{{xz|urlencode}}%E3%80%91",
"headers": [],
"cookies": []
},
@ -128,14 +241,14 @@
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"re": "\"状态\":\"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"re": "\"转换后\": \"(.+)\"",
"re": "\"转换后\":\"(.+)\"",
"from": "content",
"name": "__log__"
}

File diff suppressed because one or more lines are too long