forked from qd-today/templates
-
Notifications
You must be signed in to change notification settings - Fork 3
/
恩山无线论坛.har
1 lines (1 loc) · 2.3 KB
/
恩山无线论坛.har
1
[{"comment":"每日登录","request":{"method":"GET","url":"https://www.right.com.cn/forum/forum.php","headers":[{"name":"Host","value":"www.right.com.cn"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"Accept","value":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Referer","value":"https://www.right.com.cn/forum/home.php?mod=spacecp&ac=usergroup"},{"name":"DNT","value":"1"},{"name":"Connection","value":"keep-alive"},{"name":"Cookie","value":"{{cookie}}"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"Cache-Control","value":"max-age=0"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"获取积分","request":{"method":"GET","url":"https://www.right.com.cn/forum/home.php?mod=spacecp&ac=credit&showcredit=1&inajax=1&ajaxtarget=extcreditmenu_menu","headers":[{"name":"Host","value":"www.right.com.cn"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"},{"name":"Accept","value":"*/*"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"X-Requested-With","value":"XMLHttpRequest"},{"name":"DNT","value":"1"},{"name":"Connection","value":"keep-alive"},{"name":"Referer","value":"https://www.right.com.cn/forum/home.php?mod=spacecp&ac=credit&showcredit=1"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"<span id=\"hcredit_2\">(.+?)</span>","from":"content","name":"log_value"}]}},{"comment":"生成日志","request":{"method":"POST","url":"api://util/urldecode","headers":[],"cookies":[],"data":"content=恩山币: {{log_value}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]