Skip to content

Commit

Permalink
Update HAR: PtTime (#424)
Browse files Browse the repository at this point in the history
Co-authored-by: a76yyyy <[email protected]>
  • Loading branch information
github-actions[bot] and a76yyyy authored Sep 1, 2023
1 parent 4590bff commit 8cf4795
Show file tree
Hide file tree
Showing 2 changed files with 150 additions and 6 deletions.
146 changes: 145 additions & 1 deletion PtTime.har
Original file line number Diff line number Diff line change
@@ -1 +1,145 @@
[{"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":"api://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__"}]}}]
[
{
"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": "api://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__"
}
]
}
}
]
10 changes: 5 additions & 5 deletions tpls_history.json
Original file line number Diff line number Diff line change
Expand Up @@ -1251,14 +1251,14 @@
},
"PtTime": {
"name": "PtTime",
"author": "a76yyyy",
"author": "a76yyyy,zhaoyan42",
"url": "https://raw.githubusercontent.com/qd-today/templates/master/PtTime.har",
"update": false,
"update": true,
"comments": "登录后首页cookie<br>https://www.pttime.org/",
"filename": "PtTime.har",
"content": "W3sicmVxdWVzdCI6IHsibWV0aG9kIjogIkdFVCIsICJ1cmwiOiAiaHR0cHM6Ly93d3cucHR0aW1lLm9yZy9hdHRlbmRhbmNlLnBocCIsICJoZWFkZXJzIjogW3sibmFtZSI6ICI6bWV0aG9kIiwgInZhbHVlIjogIkdFVCJ9LCB7Im5hbWUiOiAiOmF1dGhvcml0eSIsICJ2YWx1ZSI6ICJ3d3cucHR0aW1lLm9yZyJ9LCB7Im5hbWUiOiAiOnNjaGVtZSIsICJ2YWx1ZSI6ICJodHRwcyJ9LCB7Im5hbWUiOiAiOnBhdGgiLCAidmFsdWUiOiAiL2F0dGVuZGFuY2UucGhwIn0sIHsibmFtZSI6ICJ1cGdyYWRlLWluc2VjdXJlLXJlcXVlc3RzIiwgInZhbHVlIjogIjEifSwgeyJuYW1lIjogImRudCIsICJ2YWx1ZSI6ICIxIn0sIHsibmFtZSI6ICJ1c2VyLWFnZW50IiwgInZhbHVlIjogIk1vemlsbGEvNS4wIChXaW5kb3dzIE5UIDEwLjA7IFdpbjY0OyB4NjQpIEFwcGxlV2ViS2l0LzUzNy4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIENocm9tZS84OC4wLjQzMjQuMTgyIFNhZmFyaS81MzcuMzYifSwgeyJuYW1lIjogImFjY2VwdCIsICJ2YWx1ZSI6ICJ0ZXh0L2h0bWwsYXBwbGljYXRpb24veGh0bWwreG1sLGFwcGxpY2F0aW9uL3htbDtxPTAuOSxpbWFnZS9hdmlmLGltYWdlL3dlYnAsaW1hZ2UvYXBuZywqLyo7cT0wLjgsYXBwbGljYXRpb24vc2lnbmVkLWV4Y2hhbmdlO3Y9YjM7cT0wLjkifSwgeyJuYW1lIjogInNlYy1mZXRjaC1zaXRlIiwgInZhbHVlIjogInNhbWUtb3JpZ2luI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jaLlkI5cIjogXCIoLispXCIiLCAiZnJvbSI6ICJjb250ZW50IiwgIm5hbWUiOiAiX19sb2dfXyJ9XX19XQ==",
"date": "2023-09-01 23:51:18",
"version": "20230901",
"commenturl": "https://github.com/qd-today/templates/issues/130"
},
"ToTheGlory": {
Expand Down

0 comments on commit 8cf4795

Please sign in to comment.