mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 19:59:20 +00:00
Add HAR: ECUST PT - 花梨月下(华东理工教育站) (#549)
Co-authored-by: UnicornUnderMoon <UnicornUnderMoon@users.noreply.github.com>
This commit is contained in:
parent
779bf08822
commit
1d524a4ca3
89
ECUST_PT_-_花梨月下(华东理工教育站).har
Normal file
89
ECUST_PT_-_花梨月下(华东理工教育站).har
Normal file
|
@ -0,0 +1,89 @@
|
|||
[
|
||||
{
|
||||
"comment": "适用预定义模板 JSON",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "{{flaresolverr_url}}",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "{\n \"cmd\": \"request.get\",\n \"url\": \"https://{{domain}}/attendance.php\",\n \"cookies\": [\n {\n \"name\": \"c_secure_login\",\n \"value\": \"{{c_secure_login}}\",\n \"domain\": \"{{domain}}\"\n },\n {\n \"name\": \"c_secure_pass\",\n \"value\": \"{{c_secure_pass}}\",\n \"domain\": \"{{domain}}\"\n },\n {\n \"name\": \"c_secure_uid\",\n \"value\": \"{{c_secure_uid}}\",\n \"domain\": \"{{domain}}\"\n }\n ],\n \"maxTimeout\": 120000\n}",
|
||||
"mimeType": "application/json"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "\\\\u7b7e\\\\u5230",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [
|
||||
{
|
||||
"re": "\\\\u767b\\\\u5f55",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "traffic",
|
||||
"re": "\\\\u4e0a\\\\u4f20\\\\u91cf.*\\\\u5f53\\\\u524d\\\\u6d3b\\\\u52a8",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "qiandao",
|
||||
"re": "\\\\u7b2c.*?(\\d+).*?\\\\u6b21\\\\u7b7e",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "lianxu",
|
||||
"re": "\\\\u8fde\\\\u7eed\\\\u7b7e\\\\u5230.*?(\\d+).*?\\\\u5929",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "moliadd",
|
||||
"re": "\\\\u83b7\\\\u5f97.*?(\\d+)",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "molisum",
|
||||
"re": "\\\\u4f7f\\\\u7528.*?([\\d,.]+)",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "通知",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/string/replace",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "r=text&p=当前活动&t=&s={{ unicode(traffic) | striptags }}。第{{qiandao}}次签到,连续签到{{lianxu}}天,获得{{moliadd}}魔力值,总共{{molisum}}魔力值。"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "\"状态\": \"OK\"",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "__log__",
|
||||
"re": ".*",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
|
@ -3156,6 +3156,18 @@
|
|||
"date": "2024-02-18 13:16:18",
|
||||
"version": "20240218",
|
||||
"commenturl": "https://github.com/qd-today/templates/issues/545"
|
||||
},
|
||||
"ECUST_PT_-_花梨月下(华东理工教育站)": {
|
||||
"name": "ECUST_PT_-_花梨月下(华东理工教育站)",
|
||||
"author": "UnicornUnderMoon",
|
||||
"url": "https://raw.githubusercontent.com/qd-today/templates/master/ECUST_PT_-_花梨月下(华东理工教育站).har",
|
||||
"update": false,
|
||||
"comments": "本模板修改自[PT通用过CF签到保号](https://github.com/qd-today/templates/issues/329),对“ECUST PT”站进行适配,修改了登录,签到失败判定,日志记录签到,魔力和上传下载流量信息。<br>需填信息:<br>c_secure_uid, c_secure_pass, c_secure_login 自行从 cookies 里面提取<br>flaresolverr 地址填写格式: http://{ip}:{port}/v1,<br>比如 http://localhost:8191/v1<br>参数设定具体请参看 [PT通用过CF签到保号](https://github.com/qd-today/templates/issues/329)",
|
||||
"filename": "ECUST_PT_-_花梨月下(华东理工教育站).har",
|
||||
"content": "W3siY29tbWVudCI6ICLpgILnlKjpooTlrprkuYnmqKHmnb8gSlNPTiIsICJyZXF1ZXN0IjogeyJtZXRob2QiOiAiUE9TVCIsICJ1cmwiOiAie3tmbGFyZXNvbHZlcnJfdXJsfX0iLCAiaGVhZGVycyI6IFt7Im5hbWUiOiAiQ29udGVudC1UeXBlIiwgInZhbHVlIjogImFwcGxpY2F0aW9uL2pzb24ifV0sICJjb29raWVzIjogW10sICJkYXRhIjogIntcbiAgICBcImNtZFwiOiBcInJlcXVlc3QuZ2V0XCIsXG4gICAgXCJ1cmxcIjogXCJodHRwczovL3t7ZG9tYWlufX0vYXR0ZW5kYW5jZS5waHBcIixcbiAgICBcImNvb2tpZXNcIjogW1xuICAgICAgICB7XG4gICAgICAgICAgICBcIm5hbWVcIjogXCJjX3NlY3VyZV9sb2dpblwiLFxuICAgICAgICAgICAgXCJ2YWx1ZVwiOiBcInt7Y19zZWN1cmVfbG9naW59fVwiLFxuICAgICAgICAgICAgXCJkb21haW5cIjogXCJ7e2RvbWFpbn19XCJcbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgICAgXCJuYW1lXCI6IFwiY19zZWN1cmVfcGFzc1wiLFxuICAgICAgICAgICAgXCJ2YWx1ZVwiOiBcInt7Y19zZWN1cmVfcGFzc319XCIsXG4gICAgICAgICAgICBcImRvbWFpblwiOiBcInt7ZG9tYWlufX1cIlxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgICBcIm5hbWVcIjog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GVudCJ9XX19LCB7ImNvbW1lbnQiOiAi6YCa55+lIiwgInJlcXVlc3QiOiB7Im1ldGhvZCI6ICJQT1NUIiwgInVybCI6ICJhcGk6Ly91dGlsL3N0cmluZy9yZXBsYWNlIiwgImhlYWRlcnMiOiBbXSwgImNvb2tpZXMiOiBbXSwgImRhdGEiOiAicj10ZXh0JnA95b2T5YmN5rS75YqoJnQ9JnM9e3sgdW5pY29kZSh0cmFmZmljKSB8IHN0cmlwdGFncyAgIH1944CC56yse3txaWFuZGFvfX3mrKHnrb7liLDvvIzov57nu63nrb7liLB7e2xpYW54dX195aSp77yM6I635b6Xe3ttb2xpYWRkfX3prZTlipvlgLzvvIzmgLvlhbF7e21vbGlzdW19femtlOWKm+WAvOOAgiJ9LCAicnVsZSI6IHsic3VjY2Vzc19hc3NlcnRzIjogW3sicmUiOiAiMjAwIiwgImZyb20iOiAic3RhdHVzIn0sIHsicmUiOiAiXCLnirbmgIFcIjogXCJPS1wiIiwgImZyb20iOiAiY29udGVudCJ9XSwgImZhaWxlZF9hc3NlcnRzIjogW10sICJleHRyYWN0X3ZhcmlhYmxlcyI6IFt7Im5hbWUiOiAiX19sb2dfXyIsICJyZSI6ICIuKiIsICJmcm9tIjogImNvbnRlbnQifV19fV0=",
|
||||
"date": "2024-02-21 08:56:03",
|
||||
"version": "20240221",
|
||||
"commenturl": "https://github.com/qd-today/templates/issues/548"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user