-
Notifications
You must be signed in to change notification settings - Fork 88
/
搜集网.har
1 lines (1 loc) · 3.14 KB
/
搜集网.har
1
[{"comment":"登录状态验证","request":{"method":"GET","url":"{{domain}}user/balance","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"},{"name":"cache-control","value":"no-cache"},{"name":"dnt","value":"1"},{"name":"pragma","value":"no-cache"},{"name":"referer","value":"{{domain}}"},{"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/118.0.0.0 Safari/537.36"},{"name":"cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"快速登录","from":"content"}],"extract_variables":[]}},{"comment":"签到","request":{"method":"POST","url":"{{domain}}wp-admin/admin-ajax.php","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"},{"name":"cache-control","value":"no-cache"},{"name":"content-type","value":"application/x-www-form-urlencoded; charset=UTF-8"},{"name":"dnt","value":"1"},{"name":"origin","value":"{{domain}}"},{"name":"pragma","value":"no-cache"},{"name":"referer","value":"{{domain}}"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"name":"x-requested-with","value":"XMLHttpRequest"}],"cookies":[],"data":"action=user_checkin","mimeType":"application/x-www-form-urlencoded; charset=UTF-8"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"msg","re":"\"msg\":\"(.+?)\"","from":"content"}]}},{"comment":"获取积分","request":{"method":"GET","url":"{{domain}}user/balance","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"},{"name":"cache-control","value":"no-cache"},{"name":"dnt","value":"1"},{"name":"pragma","value":"no-cache"},{"name":"referer","value":"{{domain}}"},{"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/118.0.0.0 Safari/537.36"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"jf","re":"#icon-points\"[\\s\\S]*>(\\d+)<\\/span>","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"content=签到结果:【{{msg}}】\\r\\n积分:【{{jf}}】"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]