From 4d468c6870a26ff31e56ea2e91ab6e7c08136aea Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 30 Aug 2023 15:51:38 +0800 Subject: [PATCH] =?UTF-8?q?Update=20HAR:=20PT=E9=80=9A=E7=94=A8=E8=BF=87CF?= =?UTF-8?q?=E7=AD=BE=E5=88=B0=E4=BF=9D=E5=8F=B7=20(#420)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: IITII --- ...6\345\210\260\344\277\235\345\217\267.har" | 84 +------------------ tpls_history.json | 6 +- 2 files changed, 5 insertions(+), 85 deletions(-) diff --git "a/PT\351\200\232\347\224\250\350\277\207CF\347\255\276\345\210\260\344\277\235\345\217\267.har" "b/PT\351\200\232\347\224\250\350\277\207CF\347\255\276\345\210\260\344\277\235\345\217\267.har" index f8d760104e..85df3c6b53 100644 --- "a/PT\351\200\232\347\224\250\350\277\207CF\347\255\276\345\210\260\344\277\235\345\217\267.har" +++ "b/PT\351\200\232\347\224\250\350\277\207CF\347\255\276\345\210\260\344\277\235\345\217\267.har" @@ -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}}", @@ -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": { @@ -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": { diff --git a/tpls_history.json b/tpls_history.json index dde0b2ee43..61d50f69b2 100644 --- a/tpls_history.json +++ b/tpls_history.json @@ -2528,9 +2528,9 @@ "update": true, "comments": "c_secure_uid, c_secure_pass, c_secure_login 自行从 cookies 里面提取
flaresolverr 地址填写格式: http://{ip}:{port}/v1,
比如 http://localhost:8191/v1
具体看 评论区 其他信息 部分", "filename": "PT通用过CF签到保号.har", - "content": "W3siY29tbWVudCI6ICLmiYvliqjovpPlhaUgSlNPTiDku6XpgILphY3kv67mlLnov4fnmoQgcHQg56uZIiwgInJlcXVlc3QiOiB7Im1ldGhvZCI6ICJHRVQiLCAidXJsIjogInslIGlmIGZsYXJlc29sdmVycl9qc29uICV9IiwgImhlYWRlcnMiOiBbXSwgImNvb2tpZXMiOiBbXSwgImRhdGEiOiAiIn0sICJydWxlIjogeyJzdWNjZXNzX2Fzc2VydHMiOiBbXSwgImZhaWxlZF9hc3NlcnRzIjogW10sICJleHRyYWN0X3ZhcmlhYmxlcyI6IFtdfX0sIHsiY29tbWVudCI6ICIiLCAicmVxdWVzdCI6IHsibWV0aG9kIjogIlBPU1QiLCAidXJsIjogInt7ZmxhcmVzb2x2ZXJyX3VybH19IiwgImhlYWRlcnMiOiBbeyJuYW1lIjogIkNvbnRlbnQtVHlwZSIsICJ2YWx1ZSI6ICJhcHBsaWNhdGlvbi9qc29uIn1dLCAiY29va2llcyI6IFtdLCAiZGF0YSI6ICJ7XG4gICAgXCJjbWRcIjogXCJyZXF1ZXN0LmdldFwiLFxuICAgIFwidXJsXCI6IFwiaHR0cHM6Ly97e2RvbWFpbn19L2F0dGVuZGFuY2UucGhwXCIsXG4gICAgXCJjb29raWVzXCI6IFtcbiAgICAgICAge1xuICAgICAgICAgICAgXCJuYW1lXCI6IFwiY19zZWN1cmVfbG9naW5cIixcbiAgICAgICAgICAgIFwidmFsdWVcIjogXCJ7e2Nfc2VjdXJlX2xvZ2lufX1cIixcbiAgICAgICAgICAgIFwiZG9tYWluXCI6IFwie3tkb21haW59fVwiXG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICAgIFwibmFtZVwiOiBcImNfc2VjdXJlX3Bhc3NcIixcbiAgICAgICAgICAgIFwidmFsdWVcIjogXCJ7e2Nfc2VjdXJlX3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LvliqgmdD0mcz17eyB1bmljb2RlKHRyYWZmaWMpIHwgc3RyaXB0YWdzICAgfX0ifSwgInJ1bGUiOiB7InN1Y2Nlc3NfYXNzZXJ0cyI6IFt7InJlIjogIjIwMCIsICJmcm9tIjogInN0YXR1cyJ9LCB7InJlIjogIlwi54q25oCBXCI6IFwiT0tcIiIsICJmcm9tIjogImNvbnRlbnQifV0sICJmYWlsZWRfYXNzZXJ0cyI6IFtdLCAiZXh0cmFjdF92YXJpYWJsZXMiOiBbeyJuYW1lIjogIl9fbG9nX18iLCAicmUiOiAiLioiLCAiZnJvbSI6ICJjb250ZW50In1dfX1d", - "date": "2023-06-04 10:41:23", - "version": "20230604", + "content": "W3siY29tbWVudCI6ICLpgILnlKjpooTlrprkuYnmqKHmnb8gSlNPTiIsICJyZXF1ZXN0IjogeyJtZXRob2QiOiAiUE9TVCIsICJ1cmwiOiAie3tmbGFyZXNvbHZlcnJfdXJsfX0iLCAiaGVhZGVycyI6IFt7Im5hbWUiOiAiQ29udGVudC1UeXBlIiwgInZhbHVlIjogImFwcGxpY2F0aW9uL2pzb24ifV0sICJjb29raWVzIjogW10sICJkYXRhIjogIntcbiAgICBcImNtZFwiOiBcInJlcXVlc3QuZ2V0XCIsXG4gICAgXCJ1cmxcIjogXCJodHRwczovL3t7ZG9tYWlufX0vYXR0ZW5kYW5jZS5waHBcIixcbiAgICBcImNvb2tpZXNcIjogW1xuICAgICAgICB7XG4gICAgICAgICAgICBcIm5hbWVcIjogXCJjX3NlY3VyZV9sb2dpblwiLFxuICAgICAgICAgICAgXCJ2YWx1ZVwiOiBcInt7Y19zZWN1cmVfbG9naW59fVwiLFxuICAgICAgICAgICAgXCJkb21haW5cIjogXCJ7e2RvbWFpbn19XCJcbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgICAgXCJuYW1lXCI6IFwiY19zZWN1cmVfcGFzc1wiLFxuICAgICAgICAgICAgXCJ2YWx1ZVwiOiBcInt7Y19zZWN1cmVfcGFzc319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HsicmUiOiAiXCLnirbmgIFcIjogXCJPS1wiIiwgImZyb20iOiAiY29udGVudCJ9XSwgImZhaWxlZF9hc3NlcnRzIjogW10sICJleHRyYWN0X3ZhcmlhYmxlcyI6IFt7Im5hbWUiOiAiX19sb2dfXyIsICJyZSI6ICIuKiIsICJmcm9tIjogImNvbnRlbnQifV19fV0=", + "date": "2023-08-30 13:53:34", + "version": "20230830", "commenturl": "https://github.com/qd-today/templates/issues/329" }, "op.gg自动刷新LOL战绩": {