mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-05 23:45:52 +00:00
Add HAR: 村花论坛 (#564)
Co-authored-by: loveqianool <loveqianool@users.noreply.github.com>
This commit is contained in:
parent
e6fd949208
commit
6e11a1ab06
|
@ -3216,6 +3216,18 @@
|
|||
"date": "2024-02-26 20:38:44",
|
||||
"version": "20240226",
|
||||
"commenturl": "https://github.com/qd-today/templates/issues/559"
|
||||
},
|
||||
"村花论坛": {
|
||||
"name": "村花论坛",
|
||||
"author": "NSFW",
|
||||
"url": "https://raw.githubusercontent.com/qd-today/templates/master/村花论坛.har",
|
||||
"update": false,
|
||||
"comments": "https://www.cunhua.moe<br>cookie",
|
||||
"filename": "村花论坛.har",
|
||||
"content": "W3sicmVxdWVzdCI6IHsibWV0aG9kIjogIkdFVCIsICJ1cmwiOiAiaHR0cDovLzIwc3VpLnRvcC8iLCAiaGVhZGVycyI6IFtdLCAiY29va2llcyI6IFtdLCAiZGF0YSI6ICIifSwgInJ1bGUiOiB7InN1Y2Nlc3NfYXNzZXJ0cyI6IFt7InJlIjogIjIwMCIsICJmcm9tIjogInN0YXR1cyJ9XSwgImZhaWxlZF9hc3NlcnRzIjogW10sICJleHRyYWN0X3ZhcmlhYmxlcyI6IFt7Im5hbWUiOiAibiIsICJyZSI6ICLnvIAoXFwuXFx3Kyk8IiwgImZyb20iOiAiY29udGVudCJ9XX19LCB7ImNvbW1lbnQiOiAi5a2X56ym5Liy5pu/5o2iIiwgInJlcXVlc3QiOiB7Im1ldGhvZCI6ICJQT1NUIiwgInVybCI6ICJhcGk6Ly91dGlsL3N0cmluZy9yZXBsYWNlIiwgImhlYWRlcnMiOiBbXSwgImNvb2tpZXMiOiBbXSwgImRhdGEiOiAicj1qc29uJnA9JnM9JnQ9aHR0cHM6Ly93d3cuY3VuaHVhe3tufX0ifSwgInJ1bGUiOiB7InN1Y2Nlc3NfYXNzZXJ0cyI6IFt7InJlIjogIjIwMCIsICJmcm9tIjogInN0YXR1cyJ9LCB7InJl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lIjogIjIwMCIsICJmcm9tIjogInN0YXR1cyJ9LCB7InJlIjogIlwi54q25oCBXCI6IFwiMjAwXCIiLCAiZnJvbSI6ICJjb250ZW50In1dLCAiZmFpbGVkX2Fzc2VydHMiOiBbXSwgImV4dHJhY3RfdmFyaWFibGVzIjogW3sibmFtZSI6ICJfX2xvZ19fIiwgInJlIjogIlwi6L2s5o2i5ZCOXCI6IFwiKC4qKVwiIiwgImZyb20iOiAiY29udGVudCJ9XX19XQ==",
|
||||
"date": "2024-02-27 07:55:27",
|
||||
"version": "20240227",
|
||||
"commenturl": "https://github.com/qd-today/templates/issues/563"
|
||||
}
|
||||
}
|
||||
}
|
178
村花论坛.har
Normal file
178
村花论坛.har
Normal file
|
@ -0,0 +1,178 @@
|
|||
[
|
||||
{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "http://20sui.top/",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "n",
|
||||
"re": "缀(\\.\\w+)<",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "字符串替换",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/string/replace",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "r=json&p=&s=&t=https://www.cunhua{{n}}"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "\"状态\": \"OK\"",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "domain",
|
||||
"re": "\"处理后字符串\": \"(.*)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{{domain}}/forum.php",
|
||||
"headers": [
|
||||
{
|
||||
"name": "cookie",
|
||||
"value": "{{ cookie }}"
|
||||
}
|
||||
],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "退出",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"re": "formhash=(\\w+)",
|
||||
"from": "content",
|
||||
"name": "formhash"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{{domain}}/plugin.php?id=k_misign%3Asign&operation=qiandao&format=global_usernav_extra&formhash={{ formhash |urlencode}}&inajax=1&ajaxtarget=k_misign_topb",
|
||||
"headers": [],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "{{domain}}/home.php?mod=space&do=profile",
|
||||
"headers": [],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [
|
||||
{
|
||||
"re": "请先登录",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"extract_variables": [
|
||||
{
|
||||
"re": "在线时间</em>\\d+\\s小时</li>",
|
||||
"from": "content",
|
||||
"name": "sj"
|
||||
},
|
||||
{
|
||||
"name": "jf",
|
||||
"re": "<em>(积分[\\s\\S]+颗)",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "user",
|
||||
"re": "访问我的空间\">(.+)<",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "group",
|
||||
"re": "usergroup[\\s\\S]+?>(.+?)<",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "Unicode转换",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/unicode",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "html_unescape=false&content=用户名:{{user}} 用户组:{{group}} {{jf | striptags}} {{sj | striptags}}"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "\"状态\": \"200\"",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "__log__",
|
||||
"re": "\"转换后\": \"(.*)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user