From 745bd044f7157c557f77c563839c913ad8b7fcdd Mon Sep 17 00:00:00 2001 From: a76yyyy Date: Sun, 12 Dec 2021 15:45:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0PtTime?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + PtTime.har | 1 + README.md | 1 + tpls_history.json | 12 ++++++++++++ 4 files changed, 15 insertions(+) create mode 100644 .gitignore create mode 100644 PtTime.har diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000..c138f46ee3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.history/ \ No newline at end of file diff --git a/PtTime.har b/PtTime.har new file mode 100644 index 0000000000..e054a683b6 --- /dev/null +++ b/PtTime.har @@ -0,0 +1 @@ +[{"request":{"method":"GET","url":"https://www.pttime.org/attendance.php","headers":[{"name":":method","value":"GET"},{"name":":authority","value":"www.pttime.org"},{"name":":scheme","value":"https"},{"name":":path","value":"/attendance.php"},{"name":"upgrade-insecure-requests","value":"1"},{"name":"dnt","value":"1"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"},{"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.9"},{"name":"sec-fetch-site","value":"same-origin"},{"name":"sec-fetch-mode","value":"navigate"},{"name":"sec-fetch-user","value":"?1"},{"name":"sec-fetch-dest","value":"document"},{"name":"referer","value":"https://www.pttime.org/torrents.php"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9"},{"name":"cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"下载:.*?([\\d.KMGB]+)","from":"content","name":"xz"},{"re":"上传:.*?([\\d.KMGB]+)","from":"content","name":"sc"},{"re":"分享率:(.*?)","from":"content","name":"fx"},{"re":"签到获得.*?(\\d+)","from":"content","name":"qd"},{"re":"魔力说明\\<\\/a\\>\\]:(.*?)(.+?)","from":"content","name":"_name"}]}},{"comment":"unicode转换","request":{"method":"GET","url":"http://localhost:8923/util/unicode?content=PTtime%EF%BC%9A%E3%80%90%E7%94%A8%E6%88%B7%E5%90%8D%3A{{_name|urlencode}}%E3%80%91%E3%80%90%E9%AD%94%E5%8A%9B%E5%80%BC%3A{{ml|urlencode}}%E3%80%91%E3%80%90%E7%AD%BE%E5%88%B0%E8%8E%B7%E5%BE%97%3A{{qd|urlencode}}%E3%80%91%5Cr%5Cn%E3%80%90%E5%88%86%E4%BA%AB%E7%8E%87%3A{{fx|urlencode}}%E3%80%91%E3%80%90%E4%B8%8A%E4%BC%A0%E9%87%8F%3A{{sc|urlencode}}%E3%80%91%E3%80%90%E4%B8%8B%E8%BD%BD%E9%87%8F%3A{{xz|urlencode}}%E3%80%91","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"re":"\"转换后\": \"(.+)\"","from":"content","name":"__log__"}]}}] \ No newline at end of file diff --git a/README.md b/README.md index bccd0db581..e98ff2be95 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,7 @@ Tips: | 远景论坛(账号版) | [wjf0214](https://github.com/wjf0214) | [远景论坛(账号版).har](https://github.com/qiandao-today/templates/blob/master/远景论坛(账号版).har) | 22021-12-08 22:00:00 | username:账号
password:密码
| | 小米运动 | [wjf0214](https://github.com/wjf0214) | [小米运动.har](https://github.com/qiandao-today/templates/blob/master/小米运动.har) | 2021-12-08 20:00:00 | username:账号
password:密码
min_step:最小步数
max_step:最大步数
步数在最大最小值之间取值,不填默认为1w到2w之间随机 | | 阡陌居 | [wjf0214](https://github.com/wjf0214) | [阡陌居.har](https://github.com/qiandao-today/templates/blob/master/阡陌居.har) | 2021-12-10 09:45:00 | 登录后首页cookie
http://www.1000qm.vip/ | +| PtTime | [a76yyyy](https://github.com/a76yyyy) | [PtTime.har](https://github.com/qiandao-today/templates/blob/master/PtTime.har) | 2021-12-12 12:00:00 | 登录后首页cookie
https://www.pttime.org/ | ## 📄如何注册第三方库 diff --git a/tpls_history.json b/tpls_history.json index 9e59129a5b..d30e24eb06 100644 --- a/tpls_history.json +++ b/tpls_history.json @@ -1212,6 +1212,18 @@ "date": "2021-12-10 09:45:00", "version": "20211210", "commenturl":"https://github.com/qiandao-today/templates/issues/129" + }, + "PtTime": { + "name": "PtTime", + "author": "a76yyyy", + "url": "https://raw.githubusercontent.com/qiandao-today/templates/master/PtTime.har", + "update": false, + "comments": "登录后首页cookie
https://www.pttime.org/", + "filename": "PtTime.har", + "content": "", + "date": "2021-12-12 12:00:00", + "version": "20211212", + "commenturl":"https://github.com/qiandao-today/templates/issues/130" } } } \ No newline at end of file