Skip to content

Commit

Permalink
Merge pull request #360 from geelinsir/patch-1
Browse files Browse the repository at this point in the history
Update sayhuahuo.js
  • Loading branch information
Wenmoux authored Dec 24, 2024
2 parents f987ef0 + e6ba8a4 commit d287ce4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/sayhuahuo.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
const rules = {
name: "【花火论坛】: ",
url: "https://www.sayhuahuo.xyz/dsu_paulsign-sign.html", //用于获取formhash的链接
url: "https://www.sayhanabi.net/dsu_paulsign-sign.html", //用于获取formhash的链接
cookie: config.huahuo.cookie,
formhash: 'name=\"formhash\" value=\"(.+?)\"', //formhash正则
verify: "您需要先登录才能继续本操作", //验证cookie状态
op: [{
name: "签到",
method: "post",
ua: "pc",
url: "https://www.sayhuahuo.xyz/plugin.php?id=dsu_paulsign:sign&operation=qiandao&infloat=1&inajax=1", //签到链接
url: "https://www.sayhanabi.net/plugin.php?id=dsu_paulsign:sign&operation=qiandao&infloat=1&inajax=1", //签到链接
data: "formhash=@formhash&qdxq=kx&qmode=3&todaysay=&fastreply=0",
reg2: "已经签到", //重复签到判断
reg3: "签到成功", //签到成功判断
Expand All @@ -20,4 +20,4 @@ async function huahuo() {
const template = require("../Template");
return rules.name + await template(rules)
}
module.exports = huahuo
module.exports = huahuo

0 comments on commit d287ce4

Please sign in to comment.