-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: a76yyyy <[email protected]>
- Loading branch information
1 parent
4590bff
commit 8cf4795
Showing
2 changed files
with
150 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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__" | ||
} | ||
] | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters