-
Notifications
You must be signed in to change notification settings - Fork 294
/
AcgFun.har
141 lines (141 loc) · 3.87 KB
/
AcgFun.har
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
[
{
"request": {
"method": "POST",
"url": "https://acgfun.moe/member.php?mod=logging&action=login&loginsubmit=yes&handlekey=login&inajax=1",
"headers": [
{
"name": "cookie",
"value": "{{cookie}}"
}
],
"cookies": [],
"data": "username={{username}}&password={{password}}"
},
"rule": {
"success_asserts": [
{
"re": "欢迎",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "uid",
"re": "uid':'(\\d+)'",
"from": "content"
}
]
}
},
{
"request": {
"method": "GET",
"url": "https://acgfun.moe/plugin.php?id=k_misign%3Asign",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "formhash",
"re": "formhash=(\\w+)\"",
"from": "content"
}
]
}
},
{
"request": {
"method": "GET",
"url": "https://acgfun.moe/plugin.php?id=k_misign%3Asign&operation=qiandao&formhash={{formhash|urlencode}}&format=empty&inajax=1&ajaxtarget=JD_sign",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"request": {
"method": "GET",
"url": "https://acgfun.moe/space-uid-{{uid}}.html",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "注销登录",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "user",
"re": "keywords\" content=\"(.+)的个人资料\"",
"from": "content"
},
{
"name": "jf",
"re": "(<em>积分[\\s\\S]+天空石</em>\\d+) <",
"from": "content"
},
{
"name": "group",
"re": "用户组\"> \\((.+)\\)<",
"from": "content"
}
]
}
},
{
"comment": "Unicode转换",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "html_unescape=false&content=用户: {{user}} 用户组: {{group}} {{jf | striptags}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]