forked from qd-today/templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hao4k.har
1 lines (1 loc) · 5.42 KB
/
hao4k.har
1
[{"comment":"签到页,获取formhash","request":{"method":"GET","url":"https://www.hao4k.cn/qiandao/","headers":[{"name":"upgrade-insecure-requests","value":"1"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 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":"referer","value":"https://www.hao4k.cn/"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"re":"formhash.*\"(.+?)\"","from":"content","name":"formhash"}]}},{"comment":"签到","request":{"method":"GET","url":"https://www.hao4k.cn/plugin.php?id=k_misign%3Asign&operation=qiandao&formhash={{formhash|urlencode}}&from=insign&inajax=1&ajaxtarget=JD_sign","headers":[{"name":"x-requested-with","value":"XMLHttpRequest"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36"},{"name":"accept","value":"*/*"},{"name":"referer","value":"https://www.hao4k.cn/qiandao/"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"},{"name":"cache-control","value":"no-cache"},{"name":"pragma","value":"no-cache"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"未定义操作","from":"content"}],"extract_variables":[{"re":"<!\\[CDATA\\[(.+?)\\]\\]>","from":"content","name":"msg"}]}},{"comment":"签到页","request":{"method":"GET","url":"https://www.hao4k.cn/qiandao/","headers":[{"name":"upgrade-insecure-requests","value":"1"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 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":"referer","value":"https://www.hao4k.cn/"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"lxdays","re":"id=\"lxdays\" value=\"(.+)\"","from":"content"},{"name":"lxlevel","re":"id=\"lxlevel\" value=\"(.+)\"","from":"content"},{"name":"lxreward","re":"id=\"lxreward\" value=\"(.+)\"","from":"content"},{"name":"lxtdays","re":"id=\"lxtdays\" value=\"(.+)\"","from":"content"}]}},{"comment":"积分页","request":{"method":"GET","url":"https://www.hao4k.cn/home.php?mod=spacecp&ac=credit&op=base","headers":[{"name":"upgrade-insecure-requests","value":"1"},{"name":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 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":"referer","value":"https://www.hao4k.cn/"},{"name":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"}],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"hb","re":"H币: </em>(\\d+)","from":"content"},{"name":"gxz","re":"贡献值: </em>(\\d+)","from":"content"},{"name":"hy","re":"活跃: </em>(\\d+)","from":"content"},{"name":"kb","re":"K币: </em>(\\d+)","from":"content"},{"name":"wgz","re":"违规值: </em>(\\d+)","from":"content"},{"name":"xsz","re":"悬赏值: </em>(\\d+)","from":"content"},{"name":"jf","re":"积分: </em>(\\d+)","from":"content"},{"name":"nickName","re":"class=\"username\"><\\/?a.*?>(.+?)<","from":"content"},{"name":"g_upmine","re":"用户组: (.+?)<","from":"content"}]}},{"comment":"Copy_日志","request":{"method":"GET","url":"api://util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s=%E7%94%A8%E6%88%B7%EF%BC%9A%E3%80%90{{nickName|urlencode}}%E3%80%91%EF%BC%8C%E7%94%A8%E6%88%B7%E7%BB%84%EF%BC%9A%E3%80%90{{g_upmine|urlencode}}%E3%80%91%5Cr%5Cn%E7%AD%BE%E5%88%B0%E4%BF%A1%E6%81%AF%EF%BC%9A%E3%80%90{{msg|urlencode}}%E3%80%91%5Cr%5Cn%E8%BF%9E%E7%BB%AD%E7%AD%BE%E5%88%B0%EF%BC%9A%E3%80%90{{lxdays|urlencode}}%E3%80%91%EF%BC%8C%E7%AD%BE%E5%88%B0%E7%AD%89%E7%BA%A7%EF%BC%9A%E3%80%90Lv.{{lxlevel|urlencode}}%E3%80%91%EF%BC%8C%E7%A7%AF%E5%88%86%E5%A5%96%E5%8A%B1%EF%BC%9A%E3%80%90{{lxreward|urlencode}}%E3%80%91%EF%BC%8C%E6%80%BB%E5%A4%A9%E6%95%B0%EF%BC%9A%E3%80%90{{lxtdays|urlencode}}%E5%A4%A9%E3%80%91%5Cr%5CnH%E5%B8%81%EF%BC%9A%E3%80%90{{hb|urlencode}}%E3%80%91%EF%BC%8C%E8%B4%A1%E7%8C%AE%E5%80%BC%EF%BC%9A%E3%80%90{{gxz|urlencode}}%E3%80%91%EF%BC%8C%E6%B4%BB%E8%B7%83%EF%BC%9A%E3%80%90{{hy|urlencode}}%C2%B0%E3%80%91%EF%BC%8CK%E5%B8%81%EF%BC%9A%E3%80%90{{kb|urlencode}}%E3%80%91%EF%BC%8C%E8%BF%9D%E8%A7%84%E5%80%BC%EF%BC%9A%E3%80%90{{wgz|urlencode}}%E3%80%91%EF%BC%8C%E6%82%AC%E8%B5%8F%E5%80%BC%EF%BC%9A%E3%80%90{{xsz|urlencode}}%E3%80%91%EF%BC%8C%E7%A7%AF%E5%88%86%EF%BC%9A%E3%80%90{{jf|urlencode}}%E3%80%91","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":".+","from":"content"}]}}]