Skip to content

Commit

Permalink
Add HAR: gamegamept.har (#834)
Browse files Browse the repository at this point in the history
Co-authored-by: fengymi <[email protected]>
  • Loading branch information
github-actions[bot] and fengymi authored Jan 10, 2025
1 parent 472a49c commit 22270d0
Show file tree
Hide file tree
Showing 2 changed files with 139 additions and 0 deletions.
127 changes: 127 additions & 0 deletions gamegamept.har
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
[
{
"comment": "",
"request": {
"method": "GET",
"url": "https://www.gamegamept.com/attendance.php",
"headers": [
{
"name": "accept",
"value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
},
{
"name": "accept-language",
"value": "zh-CN,zh;q=0.9,en;q=0.8"
},
{
"name": "cache-control",
"value": "no-cache"
},
{
"name": "cookie",
"value": "{{cookie}}"
},
{
"name": "pragma",
"value": "no-cache"
},
{
"name": "priority",
"value": "u=0, i"
},
{
"name": "referer",
"value": "https://www.gamegamept.com/forums.php"
},
{
"name": "sec-ch-ua",
"value": "\"Google Chrome\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "sec-ch-ua-platform",
"value": "\"macOS\""
},
{
"name": "sec-fetch-dest",
"value": "document"
},
{
"name": "sec-fetch-mode",
"value": "navigate"
},
{
"name": "sec-fetch-site",
"value": "same-origin"
},
{
"name": "sec-fetch-user",
"value": "?1"
},
{
"name": "upgrade-insecure-requests",
"value": "1"
},
{
"name": "user-agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36"
}
],
"cookies": []
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": [
{
"name": "all_times",
"re": ".*?这是您的第.*?(\\d+)",
"from": "content"
},
{
"name": "c_times",
"re": ".*?已连续签到.*?(\\d+)",
"from": "content"
},
{
"name": "moli",
"re": "本次签到获得.*?(\\d+)",
"from": "content"
}
]
}
},
{
"comment": "URL解码",
"request": {
"method": "GET",
"url": "api://util/urldecode?content=%E8%BF%99%E6%98%AF%E6%82%A8%E7%9A%84%E7%AC%AC%20{{all_times|urlencode}}%20%E6%AC%A1%E7%AD%BE%E5%88%B0%EF%BC%8C%E5%B7%B2%E8%BF%9E%E7%BB%AD%E7%AD%BE%E5%88%B0%20{{c_times|urlencode}}%20%E5%A4%A9%EF%BC%8C%E6%9C%AC%E6%AC%A1%E7%AD%BE%E5%88%B0%E8%8E%B7%E5%BE%97%20{{moli|urlencode}}%20%E4%B8%AA%E9%AD%94%E5%8A%9B%E5%80%BC%0A",
"headers": [],
"cookies": [],
"data": "unquote_plus=false&encoding=utf-8&content="
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\":\"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\":\"(.+)\"",
"from": "content"
}
]
}
}
]
12 changes: 12 additions & 0 deletions tpls_history.json
Original file line number Diff line number Diff line change
Expand Up @@ -3816,6 +3816,18 @@
"date": "2025-01-07 10:44:43",
"version": "20250107",
"commenturl": "https://github.com/qd-today/templates/issues/831"
},
"gamegamept.har": {
"name": "gamegamept.har",
"author": "fengymi",
"url": "https://raw.githubusercontent.com/qd-today/templates/master/gamegamept.har",
"update": false,
"comments": "支持gamegamept自动签到",
"filename": "gamegamept.har",
"content": "W3siY29tbWVudCI6ICIiLCAicmVxdWVzdCI6IHsibWV0aG9kIjogIkdFVCIsICJ1cmwiOiAiaHR0cHM6Ly93d3cuZ2FtZWdhbWVwdC5jb20vYXR0ZW5kYW5jZS5waHAiLCAiaGVhZGVycyI6IFt7Im5hbWUiOiAiYWNjZXB0IiwgInZhbHVlIjogInRleHQvaHRtbCxhcHBsaWNhdGlvbi94aHRtbCt4bWwsYXBwbGljYXRpb24veG1sO3E9MC45LGltYWdlL2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NiU5QyVBQyVFNiVBQyVBMSVFNyVBRCVCRSVFNSU4OCVCMCVFOCU4RSVCNyVFNSVCRSU5NyUyMHt7bW9saXx1cmxlbmNvZGV9fSUyMCVFNCVCOCVBQSVFOSVBRCU5NCVFNSU4QSU5QiVFNSU4MCVCQyUwQSIsICJoZWFkZXJzIjogW10sICJjb29raWVzIjogW10sICJkYXRhIjogInVucXVvdGVfcGx1cz1mYWxzZSZlbmNvZGluZz11dGYtOCZjb250ZW50PSJ9LCAicnVsZSI6IHsic3VjY2Vzc19hc3NlcnRzIjogW3sicmUiOiAiMjAwIiwgImZyb20iOiAic3RhdHVzIn0sIHsicmUiOiAiXCLnirbmgIFcIjpcIjIwMFwiIiwgImZyb20iOiAiY29udGVudCJ9XSwgImZhaWxlZF9hc3NlcnRzIjogW10sICJleHRyYWN0X3ZhcmlhYmxlcyI6IFt7Im5hbWUiOiAiX19sb2dfXyIsICJyZSI6ICJcIui9rOaNouWQjlwiOlwiKC4rKVwiIiwgImZyb20iOiAiY29udGVudCJ9XX19XQ==",
"date": "2025-01-10 08:15:32",
"version": "20250110",
"commenturl": "https://github.com/qd-today/templates/issues/833"
}
}
}

0 comments on commit 22270d0

Please sign in to comment.