-
Notifications
You must be signed in to change notification settings - Fork 88
/
修图匠人.har
1 lines (1 loc) · 3.58 KB
/
修图匠人.har
1
[{"comment":"验证登录状态,获取_wpnonce","request":{"method":"GET","url":"https://www.xiuturen.com/","headers":[{"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":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"},{"name":"cache-control","value":"no-cache"},{"name":"cookie","value":"{{cookie}}"},{"name":"pragma","value":"no-cache"},{"name":"referer","value":"https://www.xiuturen.com/"},{"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/115.0.0.0 Safari/537.36"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"注册","from":"content"}],"extract_variables":[{"name":"wpnonce","re":"_wpnonce\":\"([^\"]+)\"\\}","from":"content"}]}},{"comment":"签到","request":{"method":"POST","url":"https://www.xiuturen.com/api/v1/actions/daily_sign","headers":[{"name":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"},{"name":"cache-control","value":"no-cache"},{"name":"content-type","value":"application/x-www-form-urlencoded; charset=UTF-8"},{"name":"origin","value":"https://www.xiuturen.com"},{"name":"pragma","value":"no-cache"},{"name":"referer","value":"https://www.xiuturen.com/me/credits"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"name":"x-requested-with","value":"XMLHttpRequest"}],"cookies":[],"data":"_wpnonce={{wpnonce|urlencode}}","mimeType":"application/x-www-form-urlencoded; charset=UTF-8"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"msg","re":"\"message\":\"(.+?)\"","from":"content"}]}},{"comment":"积分页","request":{"method":"GET","url":"https://www.xiuturen.com/me/credits","headers":[{"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":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"},{"name":"cache-control","value":"no-cache"},{"name":"pragma","value":"no-cache"},{"name":"referer","value":"https://www.xiuturen.com/me/credits"},{"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/115.0.0.0 Safari/537.36"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"jf","re":"修图币余额</label>[\\w\\W]+>([\\d]+)<\\/p>[\\w\\W]+修图币已消费","from":"content"},{"name":"xf","re":"修图币已消费</label>[\\w\\W]+>([\\d]+)<\\/p>[\\w\\W]+签到","from":"content"},{"name":"nickName","re":"访问我的主页\">(.+?)<","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"html_unescape=false&content=用户:【{{nickName}}】\\r\\n签到信息:【{{unicode(msg)}}】\\r\\n积分:【{{jf}}】,已消费积分:【{{xf}}】"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]