mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 19:59:20 +00:00
Add HAR: 图牛助理 (#468)
Co-authored-by: fadetube <fadetube@users.noreply.github.com>
This commit is contained in:
parent
aaf9164149
commit
e878e2dfc9
|
@ -2844,6 +2844,18 @@
|
|||
"date": "2023-11-10 10:54:40",
|
||||
"version": "20231110",
|
||||
"commenturl": "https://github.com/qd-today/templates/issues/463"
|
||||
},
|
||||
"图牛助理": {
|
||||
"name": "图牛助理",
|
||||
"author": "FadeTube",
|
||||
"url": "https://raw.githubusercontent.com/qd-today/templates/master/图牛助理.har",
|
||||
"update": false,
|
||||
"comments": "PS插件图牛助理签到积分",
|
||||
"filename": "图牛助理.har",
|
||||
"content": "W3sicmVxdWVzdCI6IHsibWV0aG9kIjogIlBPU1QiLCAidXJsIjogImh0dHA6Ly90dW5pdTIucHM2Yi5jb20vYXBpL3YxL21lbWJlci9sb2dpbiIsICJoZWFkZXJzIjogW3sibmFtZSI6ICJDb25uZWN0aW9uIiwgInZhbHVlIjogImtlZXAtYWxpdmUifSwgeyJuYW1lIjogIkFjY2VwdCIsICJ2YWx1ZSI6ICJhcHBsaWNhdGlvbi9qc29uLCB0ZXh0L3BsYWluLCAqLyoifSwgeyJuYW1lIjogIkFjY2Vzcy1Db250cm9sLUFsbG93LUhlYWRlcnMiLCAidmFsdWUiOiAiWC1SZXF1ZXN0ZWQtV2l0aCxDb250ZW50LVR5cGUifSwgeyJuYW1lIjogIlVzZXItQWdlbnQiLCAidmFsdWUiOiAiTW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzg4LjAuNDMyNC4xNTAgU2FmYXJpLzUzNy4zNiJ9LCB7Im5hbWUiOiAiQWNjZXNzLUNvbnRyb2wtQWxsb3ctTWV0aG9kcyIsICJ2YWx1ZSI6ICJPUFRJT05TLCBHRVQsIFBPU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dLCAiZGF0YSI6ICIiLCAibWltZVR5cGUiOiAiYXBwbGljYXRpb24veC13d3ctZm9ybS11cmxlbmNvZGVkIn0sICJydWxlIjogeyJzdWNjZXNzX2Fzc2VydHMiOiBbeyJyZSI6ICIyMDAiLCAiZnJvbSI6ICJzdGF0dXMifV0sICJmYWlsZWRfYXNzZXJ0cyI6IFtdLCAiZXh0cmFjdF92YXJpYWJsZXMiOiBbeyJuYW1lIjogIl9fbG9nX18iLCAicmUiOiAiXCJtZXNzYWdlXCI6XCIoLispXCIsXCJkYXRhXCIiLCAiZnJvbSI6ICJjb250ZW50In1dfX1d",
|
||||
"date": "2023-11-12 16:57:25",
|
||||
"version": "20231112",
|
||||
"commenturl": "https://github.com/qd-today/templates/issues/467"
|
||||
}
|
||||
}
|
||||
}
|
199
图牛助理.har
Normal file
199
图牛助理.har
Normal file
|
@ -0,0 +1,199 @@
|
|||
[
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://tuniu2.ps6b.com/api/v1/member/login",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Connection",
|
||||
"value": "keep-alive"
|
||||
},
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/json, text/plain, */*"
|
||||
},
|
||||
{
|
||||
"name": "Access-Control-Allow-Headers",
|
||||
"value": "X-Requested-With,Content-Type"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
|
||||
},
|
||||
{
|
||||
"name": "Access-Control-Allow-Methods",
|
||||
"value": "OPTIONS, GET, POST, DELETE"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/x-www-form-urlencoded"
|
||||
},
|
||||
{
|
||||
"name": "Origin",
|
||||
"value": "file://"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Language",
|
||||
"value": "zh-CN,zh;q=0.9"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Encoding",
|
||||
"value": "gzip, deflate"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "mobile={{ username |urlencode}}&password={{ password |urlencode}}&group=photoshop",
|
||||
"mimeType": "application/x-www-form-urlencoded"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [
|
||||
{
|
||||
"re": "账号或者密码错误",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "access_token",
|
||||
"re": "\"access_token\":\"(.+?)\",\"expiration_time\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "http://tuniu2.ps6b.com/api/v1/member/sign-count",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Connection",
|
||||
"value": "keep-alive"
|
||||
},
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/json, text/plain, */*"
|
||||
},
|
||||
{
|
||||
"name": "Authorization",
|
||||
"value": "Bearer {{access_token}}"
|
||||
},
|
||||
{
|
||||
"name": "Access-Control-Allow-Headers",
|
||||
"value": "X-Requested-With,Content-Type"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
|
||||
},
|
||||
{
|
||||
"name": "Access-Control-Allow-Methods",
|
||||
"value": "OPTIONS, GET, POST, DELETE"
|
||||
},
|
||||
{
|
||||
"name": "Origin",
|
||||
"value": "file://"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Language",
|
||||
"value": "zh-CN,zh;q=0.9"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Encoding",
|
||||
"value": "gzip, deflate"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "",
|
||||
"mimeType": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [
|
||||
{
|
||||
"re": "登录失败",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"extract_variables": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "http://tuniu2.ps6b.com/api/v1/member/sign-in",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Connection",
|
||||
"value": "keep-alive"
|
||||
},
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/json, text/plain, */*"
|
||||
},
|
||||
{
|
||||
"name": "Authorization",
|
||||
"value": "Bearer {{access_token}}"
|
||||
},
|
||||
{
|
||||
"name": "Access-Control-Allow-Headers",
|
||||
"value": "X-Requested-With,Content-Type"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
|
||||
},
|
||||
{
|
||||
"name": "Access-Control-Allow-Methods",
|
||||
"value": "OPTIONS, GET, POST, DELETE"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/x-www-form-urlencoded"
|
||||
},
|
||||
{
|
||||
"name": "Origin",
|
||||
"value": "file://"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Language",
|
||||
"value": "zh-CN,zh;q=0.9"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Encoding",
|
||||
"value": "gzip, deflate"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "",
|
||||
"mimeType": "application/x-www-form-urlencoded"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "__log__",
|
||||
"re": "\"message\":\"(.+)\",\"data\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user