-
Notifications
You must be signed in to change notification settings - Fork 87
/
v2ex.har
1 lines (1 loc) · 4.11 KB
/
v2ex.har
1
[{"comment":"获取每日签到值","request":{"method":"GET","url":"https://www.v2ex.com/mission/daily","headers":[{"name":"Host","value":"www.v2ex.com"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0"},{"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":"DNT","value":"1"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"Connection","value":"keep-alive"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"once=(.+?)'","from":"content","name":"once_daily"}]}},{"comment":"签到请求","request":{"method":"GET","url":"https://www.v2ex.com/mission/daily/redeem?once={{once_daily|urlencode}}","headers":[{"name":"Host","value":"www.v2ex.com"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0"},{"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.v2ex.com/mission/daily"},{"name":"DNT","value":"1"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"Connection","value":"keep-alive"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"302","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"判断签到成功+获取签到天数","request":{"method":"GET","url":"https://www.v2ex.com/mission/daily","headers":[{"name":"Host","value":"www.v2ex.com"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0"},{"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.v2ex.com/mission/daily"},{"name":"DNT","value":"1"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"Connection","value":"keep-alive"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"每日登录奖励已领取","from":"content"},{"re":"200","from":"status"}],"failed_asserts":[{"re":"领取 X 铜币","from":"content"}],"extract_variables":[{"re":"已连续登录(.+?)天","from":"content","name":"log_days"}]}},{"comment":"获取签到奖励","request":{"method":"GET","url":"https://www.v2ex.com/balance","headers":[{"name":"Host","value":"www.v2ex.com"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0"},{"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.v2ex.com/mission/daily"},{"name":"DNT","value":"1"},{"name":"Connection","value":"keep-alive"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"Pragma","value":"no-cache"},{"name":"Cache-Control","value":"no-cache"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"每日登录奖励(.+?)铜币","from":"content","name":"log_value"}]}},{"comment":"日志","request":{"method":"GET","url":"api://util/unicode?content=%E9%93%9C%E5%B8%81%E5%A5%96%E5%8A%B1%3A{{log_value|urlencode}}%20%20%E6%80%BB%E5%A4%A9%E6%95%B0%3A{{log_days|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]