Update HAR: 禁漫天堂 (#809)

Co-authored-by: DreamAvalon <DreamAvalon@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-11-26 20:14:19 +08:00 committed by GitHub
parent e94623e18c
commit 5e89306760
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 71 additions and 4 deletions

View File

@ -220,6 +220,11 @@
"name": "status",
"re": ".+",
"from": "status"
},
{
"name": "location",
"re": ".+",
"from": "header-location"
}
]
}
@ -279,7 +284,69 @@
"data": ""
},
"rule": {
"success_asserts": []
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "判断条件成立",
"request": {
"method": "GET",
"url": "{% if int(status)==301 %}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "jmUrl",
"request": {
"method": "POST",
"url": "api://util/string/replace",
"headers": [],
"cookies": [],
"data": "r=json&p=&s=&t={{location}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"OK\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "jmUrl",
"re": "\"处理后字符串\": \"(.*)\"",
"from": "content"
}
]
}
},
{
"comment": "判断块结束",
"request": {
"method": "GET",
"url": "{% endif %}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{

File diff suppressed because one or more lines are too long