mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 19:59:20 +00:00
Update HAR: op.gg自动刷新LOL战绩 (#345)
Co-authored-by: a76yyyy <a76yyyy@users.noreply.github.com>
This commit is contained in:
parent
7a6ee50f7a
commit
10f38d8ac0
|
@ -1 +1,149 @@
|
|||
[{"comment":"请求summoner_id","request":{"method":"POST","url":"https://www.op.gg/summoners/jp/{{id|urlencode}}","headers":[{"name":"Connection","value":"keep-alive"},{"name":"Accept","value":"application/json, text/plain, */*"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"},{"name":"Sec-GPC","value":"1"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.6"},{"name":"Origin","value":"https://www.op.gg"},{"name":"Sec-Fetch-Site","value":"same-site"},{"name":"Sec-Fetch-Mode","value":"cors"},{"name":"Sec-Fetch-Dest","value":"empty"},{"name":"Accept-Encoding","value":"gzip, deflate, br"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"summoner_id","re":"\"summoner_id\":\"(.+?)\",","from":"content"}]}},{"request":{"method":"POST","url":"https://op.gg/api/v1.0/internal/bypass/summoners/jp/{{summoner_id}}/renewal","headers":[{"name":"Host","value":"op.gg"},{"name":"Connection","value":"keep-alive"},{"name":"Accept","value":"application/json, text/plain, */*"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"},{"name":"Sec-GPC","value":"1"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.6"},{"name":"Origin","value":"https://www.op.gg"},{"name":"Sec-Fetch-Site","value":"same-site"},{"name":"Sec-Fetch-Mode","value":"cors"},{"name":"Sec-Fetch-Dest","value":"empty"},{"name":"Referer","value":"https://www.op.gg/"},{"name":"Accept-Encoding","value":"gzip, deflate, br"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"Already renewed","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":".*","from":"content"}]}}]
|
||||
[
|
||||
{
|
||||
"comment": "请求summoner_id",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://www.op.gg/summoners/jp/{{id|urlencode}}",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Connection",
|
||||
"value": "keep-alive"
|
||||
},
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/json, text/plain, */*"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
|
||||
},
|
||||
{
|
||||
"name": "Sec-GPC",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Language",
|
||||
"value": "zh-CN,zh;q=0.6"
|
||||
},
|
||||
{
|
||||
"name": "Origin",
|
||||
"value": "https://www.op.gg"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Site",
|
||||
"value": "same-site"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Mode",
|
||||
"value": "cors"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Dest",
|
||||
"value": "empty"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Encoding",
|
||||
"value": "gzip, deflate, br"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "",
|
||||
"mimeType": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "summoner_id",
|
||||
"re": "\"summoner_id\":\"(.+?)\",",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://op.gg/api/v1.0/internal/bypass/summoners/jp/{{summoner_id}}/renewal",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Host",
|
||||
"value": "op.gg"
|
||||
},
|
||||
{
|
||||
"name": "Connection",
|
||||
"value": "keep-alive"
|
||||
},
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/json, text/plain, */*"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
|
||||
},
|
||||
{
|
||||
"name": "Sec-GPC",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Language",
|
||||
"value": "zh-CN,zh;q=0.6"
|
||||
},
|
||||
{
|
||||
"name": "Origin",
|
||||
"value": "https://www.op.gg"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Site",
|
||||
"value": "same-site"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Mode",
|
||||
"value": "cors"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Dest",
|
||||
"value": "empty"
|
||||
},
|
||||
{
|
||||
"name": "Referer",
|
||||
"value": "https://www.op.gg/"
|
||||
},
|
||||
{
|
||||
"name": "Accept-Encoding",
|
||||
"value": "gzip, deflate, br"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "",
|
||||
"mimeType": ""
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "Already renewed",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "__log__",
|
||||
"re": ".*",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user