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

隔壁网 评论区 #639

Open
RuiQui opened this issue May 4, 2024 · 4 comments
Open

隔壁网 评论区 #639

RuiQui opened this issue May 4, 2024 · 4 comments
Labels

Comments

@RuiQui
Copy link

RuiQui commented May 4, 2024

HAR 模板名称

隔壁网

作者信息

stay,XuanRui

模板备注及说明

username 和 password 是登录的账号密码
http://www.gebi1.com

HAR 文件名

gebi1.har

其他信息

24.5.04
更新登录方式,修改签到成功判断关键词

24.5.05
修复日志输出问题

24.5.06
修复今日已签判断

24.5.19
修复日志中签到天数只有一位数字的问题

HAR 模板内容

[{"comment":"登录","request":{"method":"POST","url":"http://www.gebi1.com/member.php?mod=logging&action=login&loginsubmit=yes&handlekey=login&loginhash=LWYES&inajax=1","headers":[],"cookies":[],"data":"formhash=2728ba72&referer=https%3A%2F%2Fwww.gebi1.com%2F&username={{username|urlencode}}&password={{password|urlencode}}&questionid=0&answer=","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"欢迎您回来","from":"content"}],"failed_asserts":[],"extract_variables":[{"re":"username':'(.+)','usergroup","from":"content","name":"username"},{"re":"uid':'(\\d+)'","from":"content","name":"uid"}]}},{"comment":"生成时间戳","request":{"method":"GET","url":"api://util/timestamp","headers":[],"cookies":[]},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[{"re":"(\\d{10})","from":"content","name":"t"}]}},{"comment":"获取hash","request":{"method":"GET","url":"http://www.gebi1.com/home.php?mod=spacecp&ac=credit&showcredit=1","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"个人资料","from":"content"}],"failed_asserts":[{"re":"您需要先登录","from":"content"}],"extract_variables":[{"re":"formhash=(\\w*)\"","from":"content","name":"hash"}]}},{"comment":"签到","request":{"method":"POST","url":"http://www.gebi1.com/plugin.php?id=k_misign%3Asign&operation=qiandao&format=button&formhash={{ hash |urlencode}}","headers":[],"cookies":[],"data":"formhash={{ hash |urlencode}}&qdxq=kx","mimeType":"application/x-www-form-urlencoded"},"rule":{"success_asserts":[{"re":"签到成功","from":"content"},{"re":"今日已签","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"qd","re":"连续.*?([\\d.]+).*天","from":"content"},{"name":"accumulate","re":"已累计签到.*?([\\d.]+).*天。","from":"content"},{"name":"status","re":"签到成功","from":"content"}]}},{"comment":"签到状态判断","request":{"method":"GET","url":"{% if status==\"签到成功\" %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"html_unescape=false&content=隔壁网签到:已连续签到{{qd}}天,累计签到{{accumulate}}天。"},"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":"{% else %}","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[],"failed_asserts":[],"extract_variables":[]}},{"comment":"Unicode转换","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"html_unescape=false&content=隔壁网签到:今天已经签到咯"},"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":[]}}]
@RuiQui
Copy link
Author

RuiQui commented May 10, 2024

#43 更新

@kissgaby
Copy link

kissgaby commented Jun 1, 2024

#43 更新

好像没有自动生成模板,兄弟有空看一下,3q.

@RuiQui
Copy link
Author

RuiQui commented Jun 1, 2024

#43 更新

好像没有自动生成模板,兄弟有空看一下,3q.

模板用的是原来已有的,原作者好像不更新了
这个新的pr一直没有被审核通过
先手动复制模板内容导入吧

@mayziran
Copy link

#43 更新

好像没有自动生成模板,兄弟有空看一下,3q.

模板用的是原来已有的,原作者好像不更新了 这个新的pr一直没有被审核通过 先手动复制模板内容导入吧

咋一直没通过

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

3 participants