Skip to content

Commit

Permalink
Update HAR: PT通用过CF签到保号 (#420)
Browse files Browse the repository at this point in the history
Co-authored-by: IITII <[email protected]>
  • Loading branch information
github-actions[bot] and IITII authored Aug 30, 2023
1 parent 76608f6 commit 4d468c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 85 deletions.
84 changes: 2 additions & 82 deletions PT通用过CF签到保号.har
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
[
{
"comment": "手动输入 JSON 以适配修改过的 pt 站",
"request": {
"method": "GET",
"url": "{% if flaresolverr_json %}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "",
"comment": "适用预定义模板 JSON",
"request": {
"method": "POST",
"url": "{{flaresolverr_url}}",
Expand All @@ -26,7 +11,7 @@
}
],
"cookies": [],
"data": "{\n \"cmd\": \"request.get\",\n \"url\": \"https://{{domain}}/attendance.php\",\n \"cookies\": [\n {\n \"name\": \"c_secure_login\",\n \"value\": \"{{c_secure_login}}\",\n \"domain\": \"{{domain}}\"\n },\n {\n \"name\": \"c_secure_pass\",\n \"value\": \"{{c_secure_pass}}\",\n \"domain\": \"{{domain}}\"\n },\n {\n \"name\": \"c_secure_uid\",\n \"value\": \"{{c_secure_uid}}\",\n \"domain\": \"{{domain}}\"\n }\n ],\n \"maxTimeout\": 60000\n}",
"data": "{\n \"cmd\": \"request.get\",\n \"url\": \"https://{{domain}}/attendance.php\",\n \"cookies\": [\n {\n \"name\": \"c_secure_login\",\n \"value\": \"{{c_secure_login}}\",\n \"domain\": \"{{domain}}\"\n },\n {\n \"name\": \"c_secure_pass\",\n \"value\": \"{{c_secure_pass}}\",\n \"domain\": \"{{domain}}\"\n },\n {\n \"name\": \"c_secure_uid\",\n \"value\": \"{{c_secure_uid}}\",\n \"domain\": \"{{domain}}\"\n }\n ],\n \"maxTimeout\": 120000\n}",
"mimeType": "application/json"
},
"rule": {
Expand All @@ -51,71 +36,6 @@
]
}
},
{
"comment": "判断条件不成立",
"request": {
"method": "GET",
"url": "{% else %}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "使用自定义 JSON",
"request": {
"method": "POST",
"url": "{{flaresolverr_url}}",
"headers": [
{
"name": "Content-Type",
"value": "application/json"
}
],
"cookies": [],
"data": "{{flaresolverr_json}}",
"mimeType": "application/json"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [
{
"re": "你需要启用cookies才能登录或切换语言",
"from": "content"
}
],
"extract_variables": [
{
"name": "traffic",
"re": "\\\\u4e0a\\\\u4f20\\\\u91cf.*\\\\u5f53\\\\u524d\\\\u6d3b\\\\u52a8",
"from": "content"
}
]
}
},
{
"comment": "判断块结束",
"request": {
"method": "GET",
"url": "{% endif %}",
"headers": [],
"cookies": [],
"data": ""
},
"rule": {
"success_asserts": []
}
},
{
"comment": "通知",
"request": {
Expand Down
6 changes: 3 additions & 3 deletions tpls_history.json
Original file line number Diff line number Diff line change
Expand Up @@ -2528,9 +2528,9 @@
"update": true,
"comments": "c_secure_uid, c_secure_pass, c_secure_login 自行从 cookies 里面提取<br>flaresolverr 地址填写格式: http://{ip}:{port}/v1, <br>比如 http://localhost:8191/v1<br>具体看 评论区 其他信息 部分",
"filename": "PT通用过CF签到保号.har",
"content": "W3siY29tbWVudCI6ICLmiYvliqjovpPlhaUgSlNPTiDku6XpgILphY3kv67mlLnov4fnmoQgcHQg56uZIiwgInJlcXVlc3QiOiB7Im1ldGhvZCI6ICJHRVQiLCAidXJsIjogInslIGlmIGZsYXJlc29sdmVycl9qc29uICV9IiwgImhlYWRlcnMiOiBbXSwgImNvb2tpZXMiOiBbXSwgImRhdGEiOiAiIn0sICJydWxlIjogeyJzdWNjZXNzX2Fzc2VydHMiOiBbXSwgImZhaWxlZF9hc3NlcnRzIjogW10sICJleHRyYWN0X3ZhcmlhYmxlcyI6IFtdfX0sIHs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uYnmqKHmnb8gSlNPTiIsICJyZXF1ZXN0IjogeyJtZXRob2QiOiAiUE9TVCIsICJ1cmwiOiAie3tmbGFyZXNvbHZlcnJfdXJsfX0iLCAiaGVhZGVycyI6IFt7Im5hbWUiOiAiQ29udGVudC1UeXBlIiwgInZhbHVlIjogImFwcGxpY2F0aW9uL2pzb24ifV0sICJjb29raWVzIjogW10sICJkYXRhIjogIntcbiAgICBcImNtZFwiOiBcInJlcXVlc3QuZ2V0XCIsXG4gICAgXCJ1cmxcIjogXCJodHRwczovL3t7ZG9tYWlufX0vYXR0ZW5kYW5jZS5waHBcIixcbiAgICBcImNvb2tpZXNcIjogW1xuICAgICAgICB7XG4gICAgICAgICAgICBcIm5hbWVcIjogXCJjX3NlY3VyZV9sb2dpblwiLFxuICAgICAgICAgICAgXCJ2YWx1ZVwiOiBcInt7Y19zZWN1cmVfbG9naW59fVwiLFxuICAgICAgICAgICAgXCJkb21haW5cIjogXCJ7e2RvbWFpbn19XCJcbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgICAgXCJuYW1lXCI6IFwiY19zZWN1cmVfcGFzc1wiLFxuICAgICAgICAgICAgXCJ2YWx1ZVwiOiBcInt7Y19zZWN1cmVfcGFzc319XCIsXG4gICAgICAgICAgICBcImRvbWFpblwiOiBcInt7ZG9tYWlufX1cIlxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgICBcIm5hbWVcIjogXCJjX3NlY3VyZV91aWRcIixcbiAgICAgICAgICAgIFwidmFsdWVcIjogXCJ7e2Nfc2VjdXJlX3VpZH19XCIsXG4gICAgICAgICAgICBcImRvbWFpblwiOiBcInt7ZG9tYWlufX1cIlxuICAgICAgICB9XG4gICAgXSxcbiAgICBcIm1heFRpbWVvdXRcIjogMTIwMDAwXG59IiwgIm1pbWVUeXBlIjogImFwcGxpY2F0aW9uL2pzb24ifSwgInJ1bGUiOiB7InN1Y2Nlc3NfYXNzZXJ0cyI6IFt7InJlIjogIjIwMCIsICJmcm9tIjogInN0YXR1cyJ9XSwgImZhaWxlZF9hc3NlcnRzIjogW3sicmUiOiAi5L2g6ZyA6KaB5ZCv55SoY29va2llc+aJjeiDveeZu+W9leaIluWIh+aNouivreiogCIsICJmcm9tIjogImNvbnRlbnQifV0sICJleHRyYWN0X3ZhcmlhYmxlcyI6IFt7Im5hbWUiOiAidHJhZmZpYyIsICJyZSI6ICJcXFxcdTRlMGFcXFxcdTRmMjBcXFxcdTkxY2YuKlxcXFx1NWY1M1xcXFx1NTI0ZFxcXFx1NmQzYlxcXFx1NTJhOCIsICJmcm9tIjogImNvbnRlbnQifV19fSwgeyJjb21tZW50IjogIumAmuefpSIsICJyZXF1ZXN0IjogeyJtZXRob2QiOiAiUE9TVCIsICJ1cmwiOiAiYXBpOi8vdXRpbC9zdHJpbmcvcmVwbGFjZSIsICJoZWFkZXJzIjogW10sICJjb29raWVzIjogW10sICJkYXRhIjogInI9dGV4dCZwPeW9k+WJjea0u+WKqCZ0PSZzPXt7IHVuaWNvZGUodHJhZmZpYykgfCBzdHJpcHRhZ3MgICB9fSJ9LCAicnVsZSI6IHsic3VjY2Vzc19hc3NlcnRzIjogW3sicmUiOiAiMjAwIiwgImZyb20iOiAic3RhdHVzIn0sIHsicmUiOiAiXCLnirbmgIFcIjogXCJPS1wiIiwgImZyb20iOiAiY29udGVudCJ9XSwgImZhaWxlZF9hc3NlcnRzIjogW10sICJleHRyYWN0X3ZhcmlhYmxlcyI6IFt7Im5hbWUiOiAiX19sb2dfXyIsICJyZSI6ICIuKiIsICJmcm9tIjogImNvbnRlbnQifV19fV0=",
"date": "2023-08-30 13:53:34",
"version": "20230830",
"commenturl": "https://github.com/qd-today/templates/issues/329"
},
"op.gg自动刷新LOL战绩": {
Expand Down

0 comments on commit 4d468c6

Please sign in to comment.