Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

麦块联机 评论区 #820

Open
loveyanglove opened this issue Dec 25, 2024 · 0 comments
Open

麦块联机 评论区 #820

loveyanglove opened this issue Dec 25, 2024 · 0 comments
Labels

Comments

@loveyanglove
Copy link
Contributor

HAR 模板名称

麦块联机

作者信息

loveyanglove

模板备注及说明

cookie签到
日志显示

首页cookie

HAR 文件名

麦块联机.har

其他信息

No response

HAR 模板内容

[{"comment":"正则提取","request":{"method":"POST","url":"api://util/regex","headers":[],"cookies":[],"data":"p=XSRF-TOKEN=(.*?);&data={{cookie}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"OK\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"token","re":"\"1\": \"(.*)\"","from":"content"}]}},{"request":{"method":"GET","url":"https://minekuai.com/","headers":[{"name":"Host","value":"minekuai.com"},{"name":"Connection","value":"keep-alive"},{"name":"Cache-Control","value":"max-age=0"},{"name":"sec-ch-ua","value":"\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\""},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"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/122.0.6261.95 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.7"},{"name":"Sec-Fetch-Site","value":"same-origin"},{"name":"Sec-Fetch-Mode","value":"navigate"},{"name":"Sec-Fetch-User","value":"?1"},{"name":"Sec-Fetch-Dest","value":"document"},{"name":"Referer","value":"https://minekuai.com/auth/login"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"},{"name":"Cookie","value":"{{cookie}}"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"获取id","request":{"method":"GET","url":"https://minekuai.com/api/client/account","headers":[{"name":"Host","value":"minekuai.com"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\""},{"name":"Accept","value":"application/json"},{"name":"X-XSRF-TOKEN","value":"{{token}}"},{"name":"X-Requested-With","value":"XMLHttpRequest"},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Sec-Fetch-Site","value":"same-origin"},{"name":"Sec-Fetch-Mode","value":"cors"},{"name":"Sec-Fetch-Dest","value":"empty"},{"name":"Referer","value":"https://minekuai.com/"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"id","re":"\"id\":(\\d+)","from":"content"},{"name":"yhm","re":"\"username\":\"(.*?)\"","from":"content"}]}},{"comment":"签到","request":{"method":"POST","url":"https://api.ungc.com.cn/api/minekuai/points/signIn","headers":[{"name":"Host","value":"api.ungc.com.cn"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\""},{"name":"X-XSRF-TOKEN","value":"{{token}}"},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36"},{"name":"Content-Type","value":"application/json"},{"name":"Accept","value":"application/json"},{"name":"X-Requested-With","value":"XMLHttpRequest"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Origin","value":"https://minekuai.com"},{"name":"Sec-Fetch-Site","value":"cross-site"},{"name":"Sec-Fetch-Mode","value":"cors"},{"name":"Sec-Fetch-Dest","value":"empty"},{"name":"Referer","value":"https://minekuai.com/stars"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"}],"cookies":[],"data":"{{id}}","mimeType":"application/json"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"msg","re":"\"msg\":\"(.*?)\"","from":"content"}]}},{"comment":"积分","request":{"method":"GET","url":"https://api.ungc.com.cn/api/minekuai/points/getPoints?user_id={{id|urlencode}}","headers":[{"name":"Host","value":"api.ungc.com.cn"},{"name":"Connection","value":"keep-alive"},{"name":"sec-ch-ua","value":"\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\""},{"name":"Accept","value":"application/json"},{"name":"X-XSRF-TOKEN","value":"{{token}}"},{"name":"X-Requested-With","value":"XMLHttpRequest"},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"User-Agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"Origin","value":"https://minekuai.com"},{"name":"Sec-Fetch-Site","value":"cross-site"},{"name":"Sec-Fetch-Mode","value":"cors"},{"name":"Sec-Fetch-Dest","value":"empty"},{"name":"Referer","value":"https://minekuai.com/stars"},{"name":"Accept-Encoding","value":"gzip, deflate, br"},{"name":"Accept-Language","value":"zh-CN,zh;q=0.9"}],"cookies":[],"data":"","mimeType":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"points","re":"\"points\":(\\d+)","from":"content"}]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"html_unescape=false&content=用户名:{{yhm}},签到状态:{{msg}},积分:{{points}}。"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant