mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 19:59:20 +00:00
Update HAR: 雨云签到 (#466)
Co-authored-by: liu475362194 <liu475362194@users.noreply.github.com>
This commit is contained in:
parent
47c31ab256
commit
aaf9164149
|
@ -2837,12 +2837,12 @@
|
|||
"name": "雨云签到",
|
||||
"author": "lxh",
|
||||
"url": "https://raw.githubusercontent.com/qd-today/templates/master/雨云签到.har",
|
||||
"update": false,
|
||||
"update": true,
|
||||
"comments": "雨云自动签到领取积分,apikey在个人资料中生成",
|
||||
"filename": "雨云签到.har",
|
||||
"content": "W3sicmVxdWVzdCI6IHsibWV0aG9kIjogIlBPU1QiLCAidXJsIjogImh0dHBzOi8vYXBpLnYyLnJhaW55dW4uY29tL3VzZXIvcmV3YXJkL3Rhc2tzIiwgImhlYWRlcnMiOiBbeyJuYW1lIjogIngtYXBpLWtleSIsICJ2YWx1ZSI6ICJ7eyBhcGlrZXkgfX0ifSwgeyJuYW1lIjogIlVzZXItQWdlbnQiLCAidmFsdWUiOiAiQXBpZm94LzEuMC4wIChodHRwczovL2FwaWZveC5jb20pIn0sIHsibmFtZSI6ICJDb250ZW50LVR5cGUiLCAidmFsdWUiOiAiYXBwbGljYXRpb24vanNvbiJ9XSwgImNvb2tpZXMiOiBbXSwgImRhdGEiOiAie1widGFza19uYW1lXCI6IFwi5q+P5pel562+5YiwXCJ9In0sICJydWxlIjogeyJzdWNjZXNzX2Fzc2VydHMiOiBbeyJyZSI6ICIyMDAiLCAiZnJvbSI6ICJzdGF0dXMifV0sICJmYWlsZWRfYXNzZXJ0cyI6IFtdLCAiZXh0cmFjdF92YXJpYWJsZXMiOiBbXX19XQ==",
|
||||
"date": "2023-11-08 12:04:58",
|
||||
"version": "20231108",
|
||||
"content": "W3sicmVxdWVzdCI6IHsibWV0aG9kIjogIlBPU1QiLCAidXJsIjogImh0dHBzOi8vYXBpLnYyLnJhaW55dW4uY29tL3VzZXIvcmV3YXJkL3Rhc2tzIiwgImhlYWRlcnMiOi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ZW50In1dfX1d",
|
||||
"date": "2023-11-10 10:54:40",
|
||||
"version": "20231110",
|
||||
"commenturl": "https://github.com/qd-today/templates/issues/463"
|
||||
}
|
||||
}
|
||||
|
|
169
雨云签到.har
169
雨云签到.har
|
@ -18,7 +18,56 @@
|
|||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "{\"task_name\": \"每日签到\"}"
|
||||
"data": "{\n \"task_name\": \"每日签到\"\n}"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "\"code\":30011",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "code",
|
||||
"re": "\"code\":(.*?),\"",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "status",
|
||||
"re": ".*",
|
||||
"from": "status"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "判断条件成立",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{% if code == \"30011\" or status == \"200\" %}",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/urldecode",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "content=签到成功"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
|
@ -28,7 +77,125 @@
|
|||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "message",
|
||||
"re": "\"转换后\": \"(.*)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "判断条件不成立",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{% else %}",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/urldecode",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "content=今日已签到过啦~"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "message",
|
||||
"re": "\"转换后\": \"(.*)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "判断块结束",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{% endif %}",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://api.v2.rainyun.com/user/",
|
||||
"headers": [
|
||||
{
|
||||
"name": "x-api-key",
|
||||
"value": "{{ apikey }}"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "Apifox/1.0.0 (https://apifox.com)"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "jifen",
|
||||
"re": "\"Points\":(.*?),\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/urldecode",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "content={{message}},当前积分: {{jifen}}"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "__log__",
|
||||
"re": "\"转换后\": \"(.*)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user