We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
柠檬HD神游
XuanRui
domain:站点域名-example.com 填写Cookies开始神游
修改神游类型(Request Payload中type的值): 0 —— 免费一次 1 —— 神游一次 2 —— 神游十次 以此类推
LemonHDLottery.har
24.12.01 创建模板(保护站点域名)
[{"comment":"开始神游","request":{"method":"POST","url":"https:///{{domain}}/lottery.php","headers":[{"name":":authority","value":"{{domain}}"},{"name":":method","value":"POST"},{"name":":path","value":"/lottery.php?"},{"name":":scheme","value":"https"},{"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":"accept-encoding","value":"gzip, deflate, br"},{"name":"accept-language","value":"zh-CN,zh;q=0.9"},{"name":"cache-control","value":"max-age=0"},{"name":"content-length","value":"6"},{"name":"content-type","value":"application/x-www-form-urlencoded"},{"name":"cookie","value":"{{cookie}}"},{"name":"origin","value":"https://{{domain}}"},{"name":"referer","value":"https://{{domain}}/lottery.php"},{"name":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\""},{"name":"sec-ch-ua-mobile","value":"?1"},{"name":"sec-ch-ua-platform","value":"\"Android\""},{"name":"sec-fetch-dest","value":"document"},{"name":"sec-fetch-mode","value":"navigate"},{"name":"sec-fetch-site","value":"same-origin"},{"name":"sec-fetch-user","value":"?1"},{"name":"upgrade-insecure-requests","value":"1"},{"name":"user-agent","value":"Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36"}],"cookies":[],"data":"type=0","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"ERROR","re":"<td class=\"text\">(.*?)</td>","from":"content"}]}},{"comment":"判断是否有错误","request":{"method":"GET","url":"{% if ERROR %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"undefined","from":"status"}],"failed_asserts":[],"extract_variables":[]}},{"comment":"","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"html_unescape=false&content=柠檬HD神游:失败,{{ERROR}}"},"rule":{"success_asserts":[],"failed_asserts":[{"re":"请求太频繁","from":"content"}],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}},{"comment":"判断条件不成立","request":{"method":"GET","url":"{% else %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"获取神游结果","request":{"method":"GET","url":"https://{{domain}}/lottery.php","headers":[{"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":"accept-language","value":"zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"},{"name":"cookie","value":"{{cookie}}"},{"name":"priority","value":"u=0, i"},{"name":"referer","value":"https://{{domain}}/lottery.php?"},{"name":"sec-ch-ua","value":"\"Microsoft Edge\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""},{"name":"sec-ch-ua-mobile","value":"?0"},{"name":"sec-ch-ua-platform","value":"\"Windows\""},{"name":"sec-fetch-dest","value":"document"},{"name":"sec-fetch-mode","value":"navigate"},{"name":"sec-fetch-site","value":"same-origin"},{"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/131.0.0.0 Safari/537.36 Edg/131.0.0.0"}],"cookies":[]},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[{"name":"result","re":"<\\/div>\\s*(.*?)\\s*<\\/h4>","from":"content"},{"name":"attempts","re":"这是您今天第.*?([\\d.]+).*次神游","from":"content"},{"name":"false_result","re":"您本次什么都没有得到!","from":"content"},{"name":"test","re":"恭喜.*?<font color=.*?>\\s*(.*?)\\s*<\\/font>","from":"content"}]}},{"comment":"","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"html_unescape=false&content=柠檬HD神游:神游{{attempts}}次,{{result}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"__log__","re":"\"转换后\": \"(.*)\"","from":"content"}]}},{"comment":"判断块结束","request":{"method":"GET","url":"{% endif %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}}]
The text was updated successfully, but these errors were encountered:
大佬,能不能把每日签到也集成在里面?
Sorry, something went wrong.
这个模板可用,就不重复造轮子啦 #328
大佬,能不能把每日签到也集成在里面? 这个模板可用,就不重复造轮子啦 #328
想着能1个就不2个嘛哈哈哈哈
No branches or pull requests
HAR 模板名称
柠檬HD神游
作者信息
XuanRui
模板备注及说明
domain:站点域名-example.com
填写Cookies开始神游
修改神游类型(Request Payload中type的值):
0 —— 免费一次
1 —— 神游一次
2 —— 神游十次
以此类推
HAR 文件名
LemonHDLottery.har
其他信息
HAR 模板内容
The text was updated successfully, but these errors were encountered: