Add HAR: 通用pt签到保号支持雨星陨阁 (#885)

Co-authored-by: thhbdd <thhbdd@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2025-02-28 23:13:48 +08:00 committed by GitHub
parent 16355b9c62
commit 85f0d738b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 139 additions and 0 deletions

View File

@ -3960,6 +3960,18 @@
"date": "2025-02-15 09:42:39",
"version": "20250215",
"commenturl": "https://github.com/qd-today/templates/issues/879"
},
"通用pt签到保号支持雨星陨阁": {
"name": "通用pt签到保号支持雨星陨阁",
"author": "thhbdd",
"url": "https://raw.githubusercontent.com/qd-today/templates/master/通用pt签到保号支持雨星陨阁.har",
"update": false,
"comments": "f12获取cookie填入pt站点的域名参考了作者 @IITII 制作的通用pt签到保号脚本在原作者基础上删去了部分请求头并添加了一些新请求头用来签到雨和星陨阁pt站点但不清楚改动后的请求头后还是否能用在他站点签到自己只测试试验了部分小的站点是可以和原作者一样只原版 NexusPHP。<br>不知道改动是否会影响其他站点使用就提交了新的模板如果用不了就请使用IITII制作的har。",
"filename": "通用pt签到保号支持雨星陨阁.har",
"content": "W3sicmVxdWVzdCI6IHsibWV0aG9kIjogIkdFVCIsICJ1cmwiOiAiaHR0cHM6Ly97e2RvbWFpbn19L2F0dGVuZGFuY2UucGhwIiwgImhlYWRlcnMiOiBbeyJuYW1lIjogIkFjY2VwdCIsICJ2YWx1ZSI6ICJ0ZXh0L2h0bWwsYXBwbGljYXRpb24veGh0bWwreG1sLGFwcGxpY2F0aW9uL3htbDtxPTAuOSxpbWFnZS9hdmlmLGltYWdlL3dlYnAsaW1hZ2UvYXBuZywqLyo7cT0wLjgsYXBwbGljYXRpb24vc2lnbmVkLWV4Y2hhbmdlO3Y9YjM7cT0wLjcifSwgeyJuYW1lIjogIkFjY2VwdC1FbmNvZGluZyIsICJ2YWx1ZSI6ICJnemlwLCBkZWZsYXRlLCBiciwgenN0ZCJ9LCB7Im5hbWUiOiAiQWNjZXB0LUxhbmd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hbWUiOiAiX19sb2dfXyIsICJyZSI6ICIuKiIsICJmcm9tIjogImNvbnRlbnQifV19fV0=",
"date": "2025-02-28 16:50:33",
"version": "20250228",
"commenturl": "https://github.com/qd-today/templates/issues/884"
}
}
}

View File

@ -0,0 +1,127 @@
[
{
"request": {
"method": "GET",
"url": "https://{{domain}}/attendance.php",
"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-Encoding",
"value": "gzip, deflate, br, zstd"
},
{
"name": "Accept-Language",
"value": "zh-CN,zh;q=0.9,en;q=0.8"
},
{
"name": "avccept",
"value": "keep-alive"
},
{
"name": "Referer",
"value": "https://{{domain}}/index.php"
},
{
"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"
},
{
"name": "sec-ch-ua",
"value": "\\\"Not(A:Brand\\\";v=\\\"99\\\", \\\"Google Chrome\\\";v=\\\"133\\\", \\\"Chromium\\\";v=\\\"133\\\""
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "sec-ch-ua-platform",
"value": "\\\"Windows\\\""
},
{
"name": "cookie",
"value": "{{cookie}}"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [
{
"re": "关闭维护",
"from": "content"
}
],
"extract_variables": [
{
"name": "recheck_cnt",
"re": "第[\\s\\S]+今日签到排名:<b>\\d+</b> / <b>\\d+</b>",
"from": "content"
},
{
"name": "traffic",
"re": "分享率[:][\\s\\S]+当前活动",
"from": "content"
}
]
}
},
{
"comment": "字符串替换",
"request": {
"method": "POST",
"url": "api://util/string/replace",
"headers": [],
"cookies": [],
"data": "r=text&p=当前活动&t=&s={{domain}}: {{traffic | striptags}} {{regex_replace(recheck_cnt | striptags, \"点击[\\s\\S]+目前\", \"\")}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"OK\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": ".*",
"from": "content"
}
]
}
}
]