-
Notifications
You must be signed in to change notification settings - Fork 298
/
DJI大疆社区.har
122 lines (122 loc) · 3.69 KB
/
DJI大疆社区.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
[
{
"request": {
"method": "GET",
"url": "https://bbs.dji.com/",
"headers": [
{
"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"
},
{
"name": "Referer",
"value": "https://bbs.dji.com/"
},
{
"name": "Cookie",
"value": "{{cookie}}"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [
{
"re": "<span>登录</span>",
"from": "content"
}
],
"extract_variables": [
{
"name": "formhash",
"re": "name=\"formhash\" value=\"(.+)\"",
"from": "content"
}
]
}
},
{
"request": {
"method": "POST",
"url": "https://bbs.dji.com/plugin.php?id=dsu_paulsign%3Asign&operation=qiandao&infloat=1&sign_as=1&pc_ajax=1",
"headers": [
{
"name": "Origin",
"value": "https://bbs.dji.com"
},
{
"name": "Referer",
"value": "https://bbs.dji.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"
},
{
"name": "Cookie",
"value": "{{cookie}}"
}
],
"cookies": [],
"data": "formhash={{formhash}}&qdmode=4&todaysay=&fastreply=0",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [
{
"re": "您需要先登录才能继续本操作",
"from": "content"
}
],
"extract_variables": [
{
"name": "addMoney",
"re": "\\\\u91d1\\\\u94b1(.+?),",
"from": "content"
}
]
}
},
{
"comment": "Unicode转换",
"request": {
"method": "GET",
"url": "api://util/unicode?content=%E6%81%AD%E5%96%9C%E6%82%A8%E7%AD%BE%E5%88%B0%E6%88%90%E5%8A%9F%EF%BC%81%E8%8E%B7%E5%BE%97%E7%AD%BE%E5%88%B0%E5%A5%96%E5%8A%B1%E9%87%91%E9%92%B1%20{{addMoney|urlencode}}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]