Skip to content

Commit

Permalink
Merge pull request #539 from qd-today/process-har-538
Browse files Browse the repository at this point in the history
Add HAR: 云原神网页版
  • Loading branch information
loveqianool authored Feb 17, 2024
2 parents 45984e3 + 05f9242 commit 5a69c2d
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tpls_history.json
Original file line number Diff line number Diff line change
Expand Up @@ -3132,6 +3132,18 @@
"date": "2024-02-17 18:59:51",
"version": "20240217",
"commenturl": "https://github.com/qd-today/templates/issues/535"
},
"云原神网页版": {
"name": "云原神网页版",
"author": "z",
"url": "https://raw.githubusercontent.com/qd-today/templates/master/云原神网页版.har",
"update": false,
"comments": "打开 https://ys.mihoyo.com/cloud<br>登录后查找 https://api-cloudgame.mihoyo.com 的连接<br>将 x-rpc-combo_token 填入 combo_token",
"filename": "云原神网页版.har",
"content": "W3sicmVxdWVzdCI6IHsibWV0aG9kIjogIkdFVCIsICJ1cmwiOiAiaHR0cHM6Ly9hcGktY2xvdWRnYW1lLm1paG95by5jb20vaGs0ZV9jZ19jbi93YWxsZXQvd2FsbGV0L2dldCIsICJoZWFkZXJzIjogW3sibmFtZSI6ICJ4LXJwYy1jb21ib190b2tlbiIsICJ2YWx1ZSI6ICJ7e2NvbWJvX3Rva2VufX0ifV0sICJjb29raWVzIjogW10sICJkYXRhIjogIiJ9LCAicnVsZSI6IHsic3VjY2Vzc19hc3NlcnRzIjogW3sicmUiOiAiZnJlZV90aW1lIiwgImZyb20iOiAiY29udGVudCJ9XSwgImZhaWxlZF9hc3NlcnRzIjogW3sicmUiOiAi55m75b2VIiwgImZyb20iOiAiY29udGVudCJ9XSwgImV4dHJhY3RfdmFyaWFibGVzIjogW3sibmFtZSI6ICJfX2xvZ19fIiwgInJlIjogIlwiZnJlZV90aW1lXCI6XCJcXGQrXCIiLCAiZnJvbSI6ICJjb250ZW50In1dfX1d",
"date": "2024-02-18 03:05:31",
"version": "20240218",
"commenturl": "https://github.com/qd-today/templates/issues/538"
}
}
}
37 changes: 37 additions & 0 deletions 云原神网页版.har
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[
{
"request": {
"method": "GET",
"url": "https://api-cloudgame.mihoyo.com/hk4e_cg_cn/wallet/wallet/get",
"headers": [
{
"name": "x-rpc-combo_token",
"value": "{{combo_token}}"
}
],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [
{
"re": "free_time",
"from": "content"
}
],
"failed_asserts": [
{
"re": "登录",
"from": "content"
}
],
"extract_variables": [
{
"name": "__log__",
"re": "\"free_time\":\"\\d+\"",
"from": "content"
}
]
}
}
]

0 comments on commit 5a69c2d

Please sign in to comment.