加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
V2EX.har 4.08 KB
一键复制 编辑 原始数据 按行查看 历史
[{"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":"http://localhost/util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s=%E9%93%9C%E5%B8%81%E5%A5%96%E5%8A%B1%3A{{log_value|urlencode}}%C2%A0%20%E6%80%BB%E5%A4%A9%E6%95%B0%3A{{log_days|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":".+","from":"content","name":"__log__"}]}}]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化