mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-05 16:06:14 +00:00
Add HAR: 影巢 (#427)
Co-authored-by: chen8945 <chen8945@users.noreply.github.com>
This commit is contained in:
parent
c3c90b96bc
commit
57249aa6e1
|
@ -2736,6 +2736,18 @@
|
|||
"date": "2023-09-01 08:40:39",
|
||||
"version": "20230901",
|
||||
"commenturl": "https://github.com/qd-today/templates/issues/414"
|
||||
},
|
||||
"影巢": {
|
||||
"name": "影巢",
|
||||
"author": "chen8945",
|
||||
"url": "https://raw.githubusercontent.com/qd-today/templates/master/影巢.har",
|
||||
"update": false,
|
||||
"comments": "邮箱 + 密码<br>https://hdhive.org/",
|
||||
"filename": "影巢.har",
|
||||
"content": "W3sicmVxdWVzdCI6IHsibWV0aG9kIjogIlBPU1QiLCAidXJsIjogImh0dHBzOi8vaGRoaXZlLm9yZy9hcGkvdjEvbG9naW4iLCAiaGVhZGVycyI6IFt7Im5hbWUiOiAiQ29udGVudC1UeXBlIiwgInZhbHVlIjogImFwcGxpY2F0aW9uL2pzb24ifSwgeyJuYW1lIjogIk9yaWdpbiIsICJ2YWx1ZSI6ICJodHRwczovL2hkaGl2ZS5vcmcifSwgeyJuYW1lIjogIlJlZmVyZXIiLCAidmFsdWUiOiAiaHR0cHM6Ly9oZGhpdmUub3JnL2xvZ2luP3JlZGlyZWN0PS9kYXNoYm9hcmQifSwgeyJuYW1lIjogIlVzZXItQWdlbnQiLCAidmFsdWUiOiAiTW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzEwOS4wLjU0MTAuMCBTYWZhcmkvNTM3LjM2In1dLCAiY29va2llcyI6IFtdLCAiZGF0YSI6ICJ7XCJ1c2VybmFtZVwiOlwie3t1c2VybmFtZX19XCIsXCJwYXNzd29yZFwiOlwie3twYXNzd29yZH19XCJ9IiwgIm1pbWVUeXBlI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JzdGF0dXMifSwgeyJyZSI6ICJcIueKtuaAgVwiOiBcIjIwMFwiIiwgImZyb20iOiAiY29udGVudCJ9XSwgImZhaWxlZF9hc3NlcnRzIjogW10sICJleHRyYWN0X3ZhcmlhYmxlcyI6IFt7Im5hbWUiOiAiX19sb2dfXyIsICJyZSI6ICJcIui9rOaNouWQjlwiOiBcIiguKilcIiIsICJmcm9tIjogImNvbnRlbnQifV19fV0=",
|
||||
"date": "2023-09-04 00:10:52",
|
||||
"version": "20230904",
|
||||
"commenturl": "https://github.com/qd-today/templates/issues/426"
|
||||
}
|
||||
}
|
||||
}
|
193
影巢.har
Normal file
193
影巢.har
Normal file
|
@ -0,0 +1,193 @@
|
|||
[
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://hdhive.org/api/v1/login",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"name": "Origin",
|
||||
"value": "https://hdhive.org"
|
||||
},
|
||||
{
|
||||
"name": "Referer",
|
||||
"value": "https://hdhive.org/login?redirect=/dashboard"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "{\"username\":\"{{username}}\",\"password\":\"{{password}}\"}",
|
||||
"mimeType": "application/json"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [
|
||||
{
|
||||
"re": "\\\\u7528\\\\u6237\\\\u4e0d\\\\u5b58\\\\u5728",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"re": "\\\\u5bc6\\\\u7801\\\\u4e0d\\\\u6b63\\\\u786e",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"re": "\"access_token\":\"(.+?)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://hdhive.org/api/v1/customer/user/daily-check-in",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"value": "Bearer {{Authorization}}"
|
||||
},
|
||||
{
|
||||
"name": "Origin",
|
||||
"value": "https://hdhive.org"
|
||||
},
|
||||
{
|
||||
"name": "Referer",
|
||||
"value": "https://hdhive.org/dashboard"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
|
||||
}
|
||||
],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "\\\\u4f60\\\\u5df2\\\\u7ecf\\\\u7b7e\\\\u5230\\\\u8fc7\\\\u4e86\\\\uff0c\\\\u660e\\\\u5929\\\\u518d\\\\u6765\\\\u5427",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"re": "\\\\u7b7e\\\\u5230\\\\u6210\\\\u529f",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"re": "\"success\":true",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [
|
||||
{
|
||||
"re": "Token \\\\u672a\\\\u901a\\\\u8fc7\\\\u9a8c\\\\u8bc1",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"re": "\\\\u7f3a\\\\u5c11 Authorization Header Token",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "msg",
|
||||
"re": "\"message\":\"(.+?)\",",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://hdhive.org/api/v1/user",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Authorization",
|
||||
"value": "Bearer {{Authorization}}"
|
||||
},
|
||||
{
|
||||
"name": "Referer",
|
||||
"value": "https://hdhive.org/dashboard"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
|
||||
}
|
||||
],
|
||||
"cookies": []
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "nickname",
|
||||
"re": "\"nickname\":\"(.+?)\",",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "points",
|
||||
"re": "\"points\":(\\d+),",
|
||||
"from": "content"
|
||||
},
|
||||
{
|
||||
"name": "days",
|
||||
"re": "\"signin_days_total\":(\\d+),",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "Unicode转换",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/unicode",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "html_unescape=false&content=用户名:{{nickname}}\\r\\n 积分:{{points}},总签到天数:{{days}}\\r\\n 签到结果:{{msg}}"
|
||||
},
|
||||
"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