加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
KDays论坛.har 5.32 KB
一键复制 编辑 原始数据 按行查看 历史
[{"comment":"获取akari","request":{"method":"GET","url":"http://uc.kdays.net//sso/login/?service=http%3A%2F%2Fbbs.kdays.net%2Findex","headers":[{"name":"Host","value":"uc.kdays.net"},{"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"},{"name":"Referer","value":"http://bbs.kdays.net/index"},{"name":"DNT","value":"1"},{"name":"Connection","value":"keep-alive"},{"name":"Upgrade-Insecure-Requests","value":"1"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"name=\"_akari\" value=\"(.+?)\"","from":"content","name":"akari"}]}},{"comment":"登录","request":{"method":"POST","url":"http://uc.kdays.net/sso/login/doLogin","headers":[{"name":"Host","value":"uc.kdays.net"},{"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"},{"name":"Content-Type","value":"application/x-www-form-urlencoded"},{"name":"Origin","value":"http://uc.kdays.net"},{"name":"DNT","value":"1"},{"name":"Connection","value":"keep-alive"},{"name":"Referer","value":"http://uc.kdays.net//sso/login/?service=http%3A%2F%2Fbbs.kdays.net%2Findex"},{"name":"Upgrade-Insecure-Requests","value":"1"}],"cookies":[],"data":"_akari={{akari|urlencode}}&callback=http%3A%2F%2Fbbs.kdays.net%2Findex&usr={{username|urlencode}}&pwd={{password|urlencode}}&rememberMe=1","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"302","from":"status"}],"failed_asserts":[{"re":"表单验证失败","from":"content"}],"extract_variables":[{"re":"token=(.+?)&","from":"header-location","name":"token"}]}},{"comment":"跳转登录","request":{"method":"GET","url":"http://bbs.kdays.net/auth/authorize?token={{token|urlencode}}&callback=http%3A%2F%2Fbbs.kdays.net%2Findex&remember=1","headers":[{"name":"Host","value":"bbs.kdays.net"},{"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"},{"name":"Referer","value":"http://uc.kdays.net//sso/login/?service=http%3A%2F%2Fbbs.kdays.net%2Findex"},{"name":"DNT","value":"1"},{"name":"Connection","value":"keep-alive"},{"name":"Upgrade-Insecure-Requests","value":"1"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"302","from":"status"}],"failed_asserts":[{"re":"login_failed","from":"content"}],"extract_variables":[]}},{"comment":"签到","request":{"method":"GET","url":"http://bbs.kdays.net/my/qiandao","headers":[{"name":"Host","value":"bbs.kdays.net"},{"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"},{"name":"DNT","value":"1"},{"name":"Connection","value":"keep-alive"},{"name":"Referer","value":"http://bbs.kdays.net/index"},{"name":"Upgrade-Insecure-Requests","value":"1"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"你还没有登录论坛","from":"content"}],"extract_variables":[]}},{"comment":"获取积分","request":{"method":"GET","url":"http://bbs.kdays.net/my/credit","headers":[{"name":"Host","value":"bbs.kdays.net"},{"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"},{"name":"Referer","value":"http://bbs.kdays.net/notify/list"},{"name":"DNT","value":"1"},{"name":"Connection","value":"keep-alive"},{"name":"Upgrade-Insecure-Requests","value":"1"},{"name":"Cache-Control","value":"max-age=0"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"你还没有登录论坛","from":"content"}],"extract_variables":[{"re":"坑币</span>\\n(.+)</li>","from":"content","name":"log_value"}]}},{"comment":"生成日志","request":{"method":"GET","url":"http://localhost/util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s=%E5%9D%91%E5%B8%81%3A%20{{log_value|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":".+","from":"content","name":"__log__"}]}}]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化