Skip to content

Commit

Permalink
新增HiFiNi/Hires后花园每日签到
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenmoux committed Jul 31, 2021
1 parent 6d57c75 commit 444eaa4
Show file tree
Hide file tree
Showing 17 changed files with 536 additions and 79 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
<summary>查看签到列表</summary>

- [ ] ~~[人人视频](https://mobile.rr.tv/fe/#/invite/phone)福利|签到|答题|开宝箱 抄[@chavyleung](https://github.com/chavyleung/scripts/tree/master/rrtv)~~
- [] ~~[WPS邀请](https://zt.wps.cn/2018/clock_in?csource=pc_clock_oldactivity) 邀请好友,需小程序手动打卡,抄自[@lepecoder/checkin](https://github.com/lepecoder/checkin)~~
- [ ] ~~[WPS邀请](https://zt.wps.cn/2018/clock_in?csource=pc_clock_oldactivity) 邀请好友,需小程序手动打卡,抄自[@lepecoder/checkin](https://github.com/lepecoder/checkin)~~
- [x] [时光相册](https://web.everphoto.cn/)每日签到
- [x] [书香门第](http://www.txtnovel.top/?fromuser=lu66666)每日签到
- [x] [多看阅读app](http://www.duokan.com/m/product)每日任务薅书豆+自动延期 保底6k+ (大概
- [x] [绅士领域](https://hk.hksslyapp.xyz/mz_pbl/app_down/)每日签到得硬币
- [ ] ~~[ucloud社区](https://uclub.ucloud.cn/invite/478)每日签到得积分~~
- [x] [网易蜗牛读书](https://du.163.com/static/activity/new_rank/index.html?user=8cf097eb09724ec5b5389a262f069a14)每日签到
- [x] [香网小说](http://sc.xiang5.com/2.2/invite/share?uid=5563201)每日签到
- [] [吾爱破解](www.52pojie.com)签到
- [ ] [吾爱破解](www.52pojie.com)签到
- [x] [网易云游戏](https://cloudgame.webapp.163.com/newer.html?invite_code=R6522U)每日签到得免费时长
- [x] [晋江小说网](https://m.jjwxc.com/invite/index?novelid=2911400&inviteid=11581969)每日签到,得月石
- [x] [什么值得买](smzdm.com)网页端每日签到
Expand Down Expand Up @@ -67,6 +67,8 @@
- [x] [有分享](https://www.bl20166.com/)每日签到
- [x] [bigfun](https://bigfun.bilibili.com)每日任务
- [x] [阡陌居](http://www.1050qm.com/forum.php?mod=guide&view=hot&mobile=2)每日签到
- [x] [HiFiNi](https://www.hifini.com/sg_sign.htm)每日签到
- [x] [Hires后花园](https://dsdlove.com)每日签到
</details>


Expand Down Expand Up @@ -103,6 +105,9 @@ termux可以使用crontab设置定时任务
<details>
<summary>更新日志</summary>

-2021-08-01
- 新增[HiFiNi](https://www.hifini.com/sg_sign.htm)每日签到
- 新增[Hires后花园](https://dsdlove.com)每日签到
- 2021-07-21
- 修复书香门第签到
- 修复acfun签到
Expand Down
12 changes: 7 additions & 5 deletions Template.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ function Template(rules) {
formhash = res.data.match(rules.reg1)
if (!res.data.match(rules.verify)) {
ckstatus = 1
let signurl = rules.signurl.replace(/@formhash/, formhash[1]);
// console.log(signurl)
let signurl = rules.signurl.replace(/@formhash/, formhash[1]);
if (rules.charset) {
header.responseType = "arraybuffer"
}
Expand All @@ -34,9 +33,12 @@ function Template(rules) {
} else {
res2data = res2.data
}

if (res2data.match(/<div id=\"messagetext\">.*?<p>(.+?)<\/p>/s)) { //dz论坛大多都是
msg = res2data.match(/<div id=\"messagetext\">.*?<p>(.+?)<\/p>/s)[1];
// console.log(res2data)
if (res2data.match(/id=\"messagetext\">.*?<p>(.+?)<\/p>/s)) { //dz论坛大多都是
msg = res2data.match(/id=\"messagetext\">.*?<p>(.+?)</s)[1];
} else if (!rules.name.match("togamemod")&&res2data.match(/<root><!\[CDATA\[/)) {
console.log(res2data)
msg = res2data.match(/<!\[CDATA\[(.+?)>/)[1].replace(/]/g, "")
} else if (res2data.match(rules.reg2)) {
msg = "今天已经" + rules.op + "过啦";
} else if (res2data.match(rules.reg3)) {
Expand Down
9 changes: 8 additions & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,11 @@ bigfun:
#阡陌居
qmj:
cookie:


#HiFiNi
hifini:
cookie:

#Hires后花园
dsdlove:
cookie
218 changes: 218 additions & 0 deletions config.yml.temple
Original file line number Diff line number Diff line change
@@ -0,0 +1,218 @@
#注意所有的冒号后边都有个空格 别删别删



#多看阅读 cookie为app里的全部cookie
duokan:
cookie:


#橙光游戏app随便抓个包就有token
cg:
token:
skey:

#绅士领域个人uid可抓签到包看到
ssly:
uid: 12487

#时光相册 手机号密码 请抓登陆包查看 手机号里包括区号 86啥的 密码为加密后的密码
everphoto:
phone: 8611012451110
password:

#书香门第 登陆账号密码(只支持字母+数字组合账号)
sxmd:
account:
password:

#uclub这个签到失效了 在cookie里
ucloud:
token:


#好游快爆 qq 留个用于兑换qb的q scookie 去我的-赚爆米花-任务里 随便抓一个post包 请求数据里有scookie 直接分享商品链接查看 gid 和 key 分享需要兑换的商品链接查看 例https://huodong3.3839.com/n/hykb/bmhstore2/inc/libao/index.php?gid=6237 比如上面这个 gid就是6237 key就是 libao 就是查看inc/后面的那个东西
hykb:
scookie:
UA:
qq:
gid:
key:

#网易蜗牛读书 都在cookie或者headers里 抓签到包最方便
du163:
xsrf:
X-Auth-Token:



# 香网小说网页端 全部cookie
xiang5:
cookie:

#京东 全部cookie
jd:
cookie:

#晋江小说 手机版网页端 m.jjwxc.net cookie中sid 最好抓签到的 填完整 sid=xxx
jjwxc:
cookie: sid=20070297_1234576798787

#什么值得买网页端 全部cookie
smzdm:
cookie:

#网易云游戏网页端 请求头里
cg163:
Authorization:
#龙空论坛 全部cookie
lkong:
cookie:

#经管之家 全部cookie
pinggu:
cookie:

#nga论坛 app端
nga:
uid:
accesstoken:

#cdsn 网页 全部cookie
csdn:
cookie:

#mt论坛 全部cookie
mt:
cookie:
time: ''

#sf轻小说 app
sfacg:
cookie:

#猫耳fm 网页 全部cookie
maoer:
cookie:


#爱好论坛 全部cookie
aihao:
cookie:

#刺猬猫小说 账号密码
hbooker:
login_name:
passwd:

#ACFun 手机号 密码
acfun:
phone:
password:

#传奇gm论坛 全部cookie
diygm:
cookie:

#一亩三分地 登陆账号 密码 (不要设置登录问题) 联众打码平台 账号密码
ym3fd:
username:
password:
lzusername:
lzpassword:

#次元狗 全部cookie
acdog:
cookie:

#登陆联想智选app的手机号密码以及请求头header中的baseinfo
lenovo:
account:
password:
baseinfo:

#数码之家全部cookie
mydigit:
cookie:

#联动云租车 全部cookie
ldygo:
cookie:

#玩物志好物商店 如果是小程序登陆的 type 默认为wx 如果是网页的就随便改比如 web 123等等,只要不是wx就行,小程序可不填cookie,网页需要
coolbuy:
type: wx
authorization:
xcsrftoken:
cookie:

#阅次元论坛:
abooky:
cookie:

#富贵论坛
fglt:
cookie:

#纪录片之家
jlpzj:
cookie:

#ug爱好者
ugsnx:
cookie:

#好书友论坛
hsy:
cookie:

#togamemod
togamemod:
cookie:

#魅族社区
meizu:
cookie:

#菜鸟图库
sucai999:
cookie:

#埋堆堆app
mdd:
appToken:

#闪艺app 都在app请求post数据里 client为ios或者android
shanyi:
token:
u:
client: ios
UA:


#香蕉视频 xxx_api_auth记得加双引号
xjvideo:
xxx_api_auth:
baseurl: https://7kp1t2vde8wt7p8tc0km.lagoapps.com


#有分享论坛
bl20166:
cookie:

#BigFun网页版 token在请求头里 x-csrf-token
bigfun:
cookie:
token:

#阡陌居
qmj:
cookie:

#HiFiNi
hifini:
cookie:

#Hires后花园
dsdlove:
cookie
6 changes: 3 additions & 3 deletions scripts/abooky.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ const rules = {
verify: "没有帐号", //验证cookie状态
signmethod: "get", //签到请求方式 get/post
signurl: "https://www.abooky.com/plugin.php?id=k_misign:sign&operation=qiandao&format=button&formhash=@formhash", //签到链接
reg2: "今日已签", //重复签到判断
reg3: "签到成功", //签到成功判断
info: "获得随机奖励.+?银币", //签到成功返回信息
reg2: "", //重复签到判断
reg3: "", //签到成功判断
info: "", //签到成功返回信息
};

async function abooky(){
Expand Down
6 changes: 3 additions & 3 deletions scripts/bl20166.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ const rules = {
signmethod: "post", //签到请求方式 get/post
signurl: "https://www.bl20166.com/plugin.php?id=dsu_paulsign:sign&operation=qiandao&infloat=0&inajax=0&mobile=yes", //签到链接
signdata:"formhash=@formhash&qdxq=kx&qdmode=1&todaysay=%E4%B9%88%E4%B9%88%E5%93%92%EF%BD%9E%28%5E%D0%B7%5E%29-%E2%98%86&fastreply=3",
reg2: "今日已经签到", //重复签到判断
reg3: "成功", //签到成功判断
info: "<p>.+签到.+", //签到成功返回信息
reg2: "", //重复签到判断
reg3: "", //签到成功判断
info: "", //签到成功返回信息
};

async function bl20166(){
Expand Down
6 changes: 3 additions & 3 deletions scripts/diygm.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ const rules = {
signmethod: "post", //签到请求方式
signurl: "https://www.diygm.com/plugin.php?id=dc_signin:sign&inajax=1", //签到链接
signdata:"formhash=@formhash&signsubmit=yes&handlekey=signin&emotid=1&referer=https%3A%2F%2Fwww.diygm.com%2Fmisc.php%3Fmod%3Dmobile&content=%E8%AE%B0%E4%B8%8A%E4%B8%80%E7%AC%94%EF%BC%8Chold%E4%BD%8F%E6%88%91%E7%9A%84%E5%BF%AB%E4%B9%90%EF%BC%81;",
reg2: "您今日已经签过到", //重复签到判断
reg3: "签到成功", //签到成功判断
info: "签到成功.*?金钱\\d+", //签到成功返回信息
reg2: "", //重复签到判断
reg3: "", //签到成功判断
info: "", //签到成功返回信息
};

async function diygm(){
Expand Down
21 changes: 21 additions & 0 deletions scripts/dsdlove.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
const rules = {
name: "【Hires后花园】: ",
type: 2, //签到类型 2 需要formhash
op: "签到",
url1: "https://dsdlove.com/plugin.php?id=dc_signin", //用于获取formhash的链接
cookie: config.dsdlove.cookie,
reg1: 'formhash=(.+)"', //formhash正则
verify: "抱歉,您尚未登录,无法进行此操作", //验证cookie状态
signmethod: "post", //签到请求方式 get/post
signdata:"formhash=@formhash&signsubmit=yes&handlekey=signin&emotid=1&referer=https%3A%2F%2Fdsdlove.com%2Fplugin.php%3Fid%3Ddc_signin&content=%E8%AE%B0%E4%B8%8A%E4%B8%80%E7%AC%94%EF%BC%8Chold%E4%BD%8F%E6%88%91%E7%9A%84%E5%BF%AB%E4%B9%90%EF%BC%81",
signurl: "https://dsdlove.com/plugin.php?id=dc_signin:sign&inajax=1", //签到链接
reg2: "", //重复签到判断
reg3: "", //签到成功判断
info: "", //签到成功返回信息
};

async function abooky(){
const template = require("../Template");
return rules.name+await template(rules)
}
module.exports=abooky
6 changes: 3 additions & 3 deletions scripts/fglt.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ const rules = {
verify: "使用QQ帐号登录", //验证cookie状态
signmethod: "get", //签到请求方式 get/post
signurl: "https://www.fglt.net/plugin.php?id=dsu_amupper&ppersubmit=true&formhash=@formhash&mobile=2", //签到链接
reg2: "已签到完毕", //重复签到判断
reg3: "特奖励", //签到成功判断
info: "感谢您积极打卡.+", //签到成功返回信息
reg2: "", //重复签到判断
reg3: "", //签到成功判断
info: "", //签到成功返回信息
};

async function fglt(){
Expand Down
24 changes: 24 additions & 0 deletions scripts/hifini.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
const axios = require("axios")
function task() {
return new Promise(async resolve => {
try {
let url = 'https://www.hifini.com/sg_sign.htm'
let res = await axios.post(url, "000", {
headers: {
"X-Requested-With": "XMLHttpRequest",
"cookie": config.HiFiNi.cookie
}
})
msg = res.data.message
console.log(msg)
} catch (err) {
console.log(err)
msg = "签到接口请求出错"
}
resolve("【HiFiNi每日签到】:" + msg)
})
}


//task()
module.exports = task
Loading

0 comments on commit 444eaa4

Please sign in to comment.