mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-05 21:53:42 +00:00
Update HAR: 高清演唱会 (#723)
Co-authored-by: chen8945 <chen8945@users.noreply.github.com>
This commit is contained in:
parent
8b1bd235a2
commit
c02f337ee8
File diff suppressed because one or more lines are too long
137
高清演唱会.har
137
高清演唱会.har
|
@ -1,4 +1,118 @@
|
|||
[
|
||||
{
|
||||
"comment": "Unicode转换",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/unicode",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "html_unescape=false&content=验证码错误,请重新刷新验证码"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "\"状态\": \"200\"",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "info",
|
||||
"re": "\"转换后\": \"(.*)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "While 循环开始",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{% while int(loop_index0) < 30 and info == \"验证码错误,请重新刷新验证码\" %}",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://www.yiqibixin.com/wp-content/themes/modown/action/captcha2.php?{{random(0,1,17)}}",
|
||||
"headers": [
|
||||
{
|
||||
"name": "referer",
|
||||
"value": "https://www.yiqibixin.com/"
|
||||
},
|
||||
{
|
||||
"name": "user-agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"
|
||||
}
|
||||
],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "sec",
|
||||
"re": ".*",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "OCR识别",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/dddd/ocr",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "{\"img\":\"{{sec}}\",\"imgurl\":\"\",\"old\":\"False\",\"extra_onnx_name\":\"\"}"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "\"状态\": \"OK\"",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "cpt",
|
||||
"re": "\"Result\": \"(.*)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
|
@ -18,7 +132,7 @@
|
|||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "log={{username|urlencode}}&pwd={{password|urlencode}}&action=mobantu_login",
|
||||
"data": "log={{username|urlencode}}&pwd={{password|urlencode}}&cpt={{cpt}}&action=mobantu_login",
|
||||
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
|
||||
},
|
||||
"rule": {
|
||||
|
@ -34,7 +148,26 @@
|
|||
"from": "content"
|
||||
}
|
||||
],
|
||||
"extract_variables": []
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "info",
|
||||
"re": ".*",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "While 循环结束",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{% endwhile %}",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": []
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user