-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add HAR: ECUST PT - 花梨月下(华东理工教育站) (#549)
Co-authored-by: UnicornUnderMoon <UnicornUnderMoon@users.noreply.github.com>
- Loading branch information
1 parent
779bf08
commit 1d524a4
Showing
2 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
] | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters