(.+?)
","from":"content"}]}},{"comment":"正则提取","request":{"method":"GET","url":"api://util/regex?p=%3Cp%3E(.%2B)%3C%2Fp%3E&data={{data|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"OK\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"msg1","re":"\"1\": \"(.*)\"","from":"content"},{"name":"msg2","re":"\"2\": \"(.*)\"","from":"content"}]}},{"comment":"获取积分","request":{"method":"GET","url":"https://id.tool.lu/user/credits","headers":[{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"96\", \"Google Chrome\";v=\"96\""},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 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://id.tool.lu/user/credits"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"jf","re":"当前积分: (.+?)","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"GET","url":"api://util/unicode?content={{msg1|urlencode}}{{msg2|urlencode}}%E3%80%90%E5%BD%93%E5%89%8D%E7%A7%AF%E5%88%86%3A{{jf|urlencode}}%E3%80%91","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}] \ No newline at end of file +[{"comment":"签到","request":{"method":"GET","url":"https://id.tool.lu/sign","headers":[{"name":"Connection","value":"keep-alive"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 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":"Referer","value":"https://tool.lu/"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"退出","from":"content"}],"failed_asserts":[{"re":"Redirecting to https://id.tool.lu/login","from":"content"}],"extract_variables":[{"name":"msg","re":"最近签到时间[\\W\\w]+class=\"mb-6\">(.+?)[\\W\\w]+我的积分","from":"content"}]}},{"comment":"积分页","request":{"method":"GET","url":"https://id.tool.lu/credits","headers":[{"name":"Connection","value":"keep-alive"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 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":"Referer","value":"https://id.tool.lu/profile"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"jf","re":"当前积分: (.+?)","from":"content"}]}},{"comment":"日志","request":{"method":"GET","url":"api://util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s=%E7%AD%BE%E5%88%B0%E6%83%85%E5%86%B5%EF%BC%9A%E3%80%90{{msg|urlencode}}%E3%80%91%5Cr%5Cn%E5%BD%93%E5%89%8D%E7%A7%AF%E5%88%86%EF%BC%9A%E3%80%90{{jf|urlencode}}%E3%80%91","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":".+","from":"content"}]}}] \ No newline at end of file diff --git a/tpls_history.json b/tpls_history.json index f319390..a3d4854 100644 --- a/tpls_history.json +++ b/tpls_history.json @@ -1527,14 +1527,14 @@ }, "tool.lu在线工具": { "name": "tool.lu在线工具", - "author": "goooxyz", + "author": "wjf0214", "url": "https://raw.githubusercontent.com/qiandao-today/templates/master/tool.lu在线工具.har", "update": false, - "comments": "登录后获取cookie