Collect authenticated Qinglong scripts batch
This commit is contained in:
32
脚本库/web版/账密/富贵论坛_,/2022-02-05_fglt_c47d543e.js
Normal file
32
脚本库/web版/账密/富贵论坛_,/2022-02-05_fglt_c47d543e.js
Normal file
@@ -0,0 +1,32 @@
|
||||
// # Source: https://github.com/Wenmoux/checkbox/blob/master/scripts/fglt.js
|
||||
// # Raw: https://raw.githubusercontent.com/Wenmoux/checkbox/master/scripts/fglt.js
|
||||
// # Repo: Wenmoux/checkbox
|
||||
// # Path: scripts/fglt.js
|
||||
// # UploadedAt: 2022-02-05T01:15:13Z
|
||||
// # SHA256: c47d543eddc49c5adc9d12127c9fda6edb42b4bb2c0269c5ced70d5ca23de0eb
|
||||
// # Category: web版/账密
|
||||
// # Evidence: web/H5关键词 + username/password/login
|
||||
//
|
||||
|
||||
//每整点可签
|
||||
|
||||
const rules = {
|
||||
name: "【富贵论坛】: ",
|
||||
url: "https://www.fglt.net/forum.php", //用于获取formhash的链接
|
||||
cookie: config.fglt.cookie,
|
||||
formhash: 'formhash=(.+?)\\"', //formhash正则
|
||||
verify: "使用QQ帐号登录", //验证cookie状态
|
||||
op: [{
|
||||
name: "签到",
|
||||
method: "get", //签到请求方式 get/post
|
||||
url: "https://www.fglt.net/plugin.php?id=dsu_amupper&ppersubmit=true&formhash=@formhash&mobile=2",
|
||||
reg3: "<p class=\"f_c\">(.+?)<\\/p>", //签到成功判断
|
||||
info: "<p class=\"f_c\">(.+?)<\/p>", //签到成功返回信息
|
||||
}]
|
||||
};
|
||||
|
||||
async function fglt() {
|
||||
const template = require("../Template");
|
||||
return rules.name + await template(rules)
|
||||
}
|
||||
module.exports = fglt
|
||||
Reference in New Issue
Block a user