-
Notifications
You must be signed in to change notification settings - Fork 87
/
GLaDOS.har
1 lines (1 loc) · 2.23 KB
/
GLaDOS.har
1
[{"comment":"签到","request":{"method":"POST","url":"https://glados.rocks/api/user/checkin","headers":[{"name":"pragma","value":"no-cache"},{"name":"cache-control","value":"no-cache"},{"name":"accept","value":"application/json, text/plain, */*"},{"name":"content-type","value":"application/json;charset=UTF-8"},{"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":"origin","value":"https://glados.rocks"},{"name":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8"},{"name":"cookie","value":"{{cookie}}"}],"cookies":[],"data":"{\"token\":\"glados.one\"}","mimeType":"application/json;charset=UTF-8"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[{"re":"没有权限","from":"content"},{"re":"\"code\":[^1|0]","from":"content"},{"re":"oops, token error","from":"content"}],"extract_variables":[{"name":"msg","re":"\"message\":\"(.+?)\"","from":"content"}]}},{"comment":"用户状态","request":{"method":"GET","url":"https://glados.rocks/api/user/status","headers":[{"name":"pragma","value":"no-cache"},{"name":"cache-control","value":"no-cache"},{"name":"accept","value":"application/json, text/plain, */*"},{"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-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":"days","re":"\"days\":(\\d+),","from":"content"},{"name":"leftDays","re":"\"leftDays\":\"(.+)\"","from":"content"},{"name":"vip","re":"\"vip\":(\\d+),","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"html_unescape=false&content=签到信息:【{{msg}}】\\r\\nVIP:【{{vip}}】,已用天数:【{{days}}】,剩余天数:【{{leftDays|int}}】"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]