Skip to content

Commit

Permalink
添加PtTime
Browse files Browse the repository at this point in the history
  • Loading branch information
a76yyyy committed Dec 12, 2021
1 parent 60d9e4b commit 745bd04
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.history/
1 change: 1 addition & 0 deletions PtTime.har
Original file line number Diff line number Diff line change
@@ -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":"分享率:</font>(.*?)</span>","from":"content","name":"fx"},{"re":"签到获得.*?(\\d+)","from":"content","name":"qd"},{"re":"魔力说明\\<\\/a\\>\\]:(.*?)<a","from":"content","name":"ml"},{"re":"class='.+_Name'><b>(.+?)</b>","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__"}]}}]
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:账号<br>password:密码<br><https://bbs.pcbeta.com/> |
| 小米运动 | [wjf0214](https://github.com/wjf0214) | [小米运动.har](https://github.com/qiandao-today/templates/blob/master/小米运动.har) | 2021-12-08 20:00:00 | username:账号<br>password:密码<br>min_step:最小步数<br>max_step:最大步数<br>步数在最大最小值之间取值,不填默认为1w到2w之间随机 |
| 阡陌居 | [wjf0214](https://github.com/wjf0214) | [阡陌居.har](https://github.com/qiandao-today/templates/blob/master/阡陌居.har) | 2021-12-10 09:45:00 | 登录后首页cookie<br>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<br>https://www.pttime.org/ |

## 📄如何注册第三方库

Expand Down
12 changes: 12 additions & 0 deletions tpls_history.json
Original file line number Diff line number Diff line change
Expand Up @@ -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<br>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"
}
}
}

0 comments on commit 745bd04

Please sign in to comment.