-
Notifications
You must be signed in to change notification settings - Fork 87
/
布谷TV.har
1 lines (1 loc) · 4.41 KB
/
布谷TV.har
1
[{"comment":"登录","request":{"method":"POST","url":"https://www.bugutv.org/wp-admin/admin-ajax.php","headers":[{"name":"Connection","value":"keep-alive"},{"name":"DNT","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"},{"name":"Content-Type","value":"application/x-www-form-urlencoded; charset=UTF-8"},{"name":"Accept","value":"application/json, text/javascript, */*; q=0.01"},{"name":"X-Requested-With","value":"XMLHttpRequest"},{"name":"Origin","value":"https://www.bugutv.org"},{"name":"Referer","value":"https://www.bugutv.org/"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"}],"cookies":[],"data":"action=user_login&username={{username}}&password={{password}}&rememberme=1","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"\"status\":\"[^1]\"","from":"content"}],"extract_variables":[]}},{"comment":"获取nonce","request":{"method":"GET","url":"https://www.bugutv.org/user/index","headers":[{"name":"Connection","value":"keep-alive"},{"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/114.0.0.0 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":"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":"nonce","re":"data-nonce=\"(.+?)\"","from":"content"}]}},{"comment":"签到","request":{"method":"POST","url":"https://www.bugutv.org/wp-admin/admin-ajax.php","headers":[{"name":"Connection","value":"keep-alive"},{"name":"DNT","value":"1"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"},{"name":"Content-Type","value":"application/x-www-form-urlencoded; charset=UTF-8"},{"name":"Accept","value":"application/json, text/javascript, */*; q=0.01"},{"name":"X-Requested-With","value":"XMLHttpRequest"},{"name":"Origin","value":"https://www.bugutv.org"},{"name":"Referer","value":"https://www.bugutv.org/user/index"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"}],"cookies":[],"data":"action=user_qiandao&nonce={{nonce}}","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"msg","re":"\"msg\":\"(.+)\"","from":"content"}]}},{"comment":"获取当前余额","request":{"method":"GET","url":"https://www.bugutv.org/user/coin","headers":[{"name":"Connection","value":"keep-alive"},{"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/114.0.0.0 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":"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":"dqye","re":"<h3 class=\"mb-1\">(\\d+) 积分</h3>\\s*<p class=\"mb-0\">当前余额</p>","from":"content"},{"name":"ljxf","re":"<h3 class=\"mb-1\">(\\d+) 积分</h3>\\s*<p class=\"mb-0\">累计消费</p>","from":"content"},{"name":"ljyj","re":"<h3 class=\"mb-1\">(.+?)</h3>\\s*<p class=\"mb-0\">累计佣金</p>","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"html_unescape=false&content=签到结果:【{{msg}}】\\r\\n当前余额:【{{dqye}}】,累计消费:【{{ljxf}}】,累计佣金:【{{ljyj}}】"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]