mirror of
https://github.com/Sitoi/dailycheckin.git
synced 2024-11-17 21:58:03 +08:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
38f26af6a8
1
.github/workflows/deploy_tencent_scf.yml
vendored
1
.github/workflows/deploy_tencent_scf.yml
vendored
@ -69,6 +69,7 @@ jobs:
|
||||
MGTV_PARAMS_LIST: ${{secrets.MGTV_PARAMS_LIST}}
|
||||
PICACOMIC_ACCOUNT_LIST: ${{secrets.PICACOMIC_ACCOUNT_LIST}}
|
||||
MEIZU_COOKIE_LIST: ${{secrets.MEIZU_COOKIE_LIST}}
|
||||
CAIYUN_COOKIE_LIST: ${{secrets.CAIYUN_COOKIE_LIST}}
|
||||
|
||||
- name: "部署到腾讯云函数"
|
||||
run: sls deploy --debug
|
||||
|
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -65,4 +65,5 @@ jobs:
|
||||
POJIE_COOKIE_LIST: ${{secrets.POJIE_COOKIE_LIST}}
|
||||
MGTV_PARAMS_LIST: ${{secrets.MGTV_PARAMS_LIST}}
|
||||
PICACOMIC_ACCOUNT_LIST: ${{secrets.PICACOMIC_ACCOUNT_LIST}}
|
||||
MEIZU_COOKIE_LIST: ${{secrets.MEIZU_COOKIE_LIST}}
|
||||
MEIZU_COOKIE_LIST: ${{secrets.MEIZU_COOKIE_LIST}}
|
||||
CAIYUN_COOKIE_LIST: ${{secrets.CAIYUN_COOKIE_LIST}}
|
17
README.md
17
README.md
@ -43,20 +43,21 @@
|
||||
|签到|[腾讯视频](https://v.qq.com/)|每日两次腾讯视频签到获取成长值|每天一次|
|
||||
|签到|[有道云笔记](https://note.youdao.com/web/)|每日签到获取存储空间|每天一次|
|
||||
|签到|[网易云音乐](https://music.163.com/)|每日自动登录签到 + 刷歌 310 首|每天一次|
|
||||
|签到|[一加手机社区官方论坛](https://www.oneplusbbs.com/)|论坛每日签到 + 10 次抽奖|每天一次|
|
||||
|签到|[一加手机社区官方论坛](https://www.oneplusbbs.com/)|论坛每日签到 + 10 次抽奖任务|每天一次|
|
||||
|签到|[百度贴吧](https://tieba.baidu.com/index.html)|贴吧每日签到|每天一次|
|
||||
|签到|[Bilibili](https://www.bilibili.com)|直播签到,漫画签到,每日经验任务,自动投币,银瓜子换硬币等功能|每天一次|
|
||||
|签到|[V2EX](https://www.v2ex.com/)|每日签到|每天一次|
|
||||
|签到|[咔叽网单](https://www.2nzz.com/)|每日签到|每天一次|
|
||||
|签到|[V2EX](https://www.v2ex.com/)|铜币奖励|每天一次|
|
||||
|签到|[咔叽网单](https://www.2nzz.com/)| |每天一次|
|
||||
|签到|[什么值得买](https://www.smzdm.com)|每日签到|每天一次|
|
||||
|签到|[AcFun](https://www.acfun.cn/)|每日签到|每天一次|
|
||||
|签到|[天翼云盘](https://cloud.189.cn/)|每日签到|每天一次|
|
||||
|签到|[AcFun](https://www.acfun.cn/)|每日签到香蕉|每天一次|
|
||||
|签到|[天翼云盘](https://cloud.189.cn/)|每日签到+2次抽奖获得空间奖励|每天一次|
|
||||
|签到|[WPS](https://www.wps.cn/)|每日签到|每天一次|
|
||||
|签到|[吾爱破解](https://www.52pojie.cn/index.php)|每日签到|每天一次|
|
||||
|签到|[哔咔漫画](https://www.picacomic.com)|每日签到|每天一次|
|
||||
|签到|[吾爱破解](https://www.52pojie.cn/index.php)|2枚吾爱币|每天一次|
|
||||
|签到|[哔咔漫画](https://www.picacomic.com)|成长值奖励|每天一次|
|
||||
|签到|[MEIZU 社区](https://bbs.meizu.cn)|每日签到,可配置抽奖|每天一次|
|
||||
|签到|[和彩云](https://caiyun.feixin.10086.cn:7071/portal/newsignin/index.jsp)|每日签到获取积分,积分可兑换物品|每天一次|
|
||||
|签到|芒果 TV|签到获取体验会员|每天一次|
|
||||
|签到|联通营业厅|每日签到|每天一次|
|
||||
|签到|联通营业厅|积分+流量奖励|每天一次|
|
||||
|签到|Fa米家 APP|连续签到7天总计获得6粒Fa米粒,每月15号23.59分清空Fa米粒。理论一个月最少获得24粒fa米粒。|每天一次|
|
||||
|羊毛|喜马拉雅极速版|金币获取|30分钟一次|
|
||||
|其他|小米运动|每日小米运动刷步数|每天一次|
|
||||
|
2
caiyun/__init__.py
Normal file
2
caiyun/__init__.py
Normal file
@ -0,0 +1,2 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from caiyun.caiyun import CaiYunCheckIn
|
123
caiyun/caiyun.py
Normal file
123
caiyun/caiyun.py
Normal file
@ -0,0 +1,123 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
from urllib import parse
|
||||
|
||||
import requests
|
||||
from requests import utils
|
||||
|
||||
|
||||
class CaiYunCheckIn:
|
||||
def __init__(self, check_item):
|
||||
self.check_item = check_item
|
||||
self.user_agent = "Mozilla/5.0 (Linux; Android 10; M2007J3SC Build/QKQ1.191222.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/83.0.4103.106 Mobile Safari/537.36 MCloudApp/7.6.0"
|
||||
|
||||
@staticmethod
|
||||
def get_encrypt_time(session):
|
||||
payload = parse.urlencode({"op": "currentTimeMillis"})
|
||||
resp = session.post(
|
||||
url="http://caiyun.feixin.10086.cn:7070/portal/ajax/tools/opRequest.action", data=payload
|
||||
).json()
|
||||
if resp.get("code") != 10000:
|
||||
print("获取时间戳失败: ", resp["msg"])
|
||||
return 0
|
||||
return resp.get("result", 0)
|
||||
|
||||
def get_ticket(self, session):
|
||||
payload = {"sourceId": 1003, "type": 1, "encryptTime": self.get_encrypt_time(session=session)}
|
||||
resp = requests.post(url="https://proxy.xuthus.cc/api/10086_calc_sign", data=payload)
|
||||
resp = resp.json()
|
||||
if resp.get("code") != 200:
|
||||
ticket = False, "加密失败: ", resp.get("msg")
|
||||
else:
|
||||
ticket = True, resp.get("data")
|
||||
return ticket
|
||||
|
||||
@staticmethod
|
||||
def user_info(session):
|
||||
resp = session.get(url="https://caiyun.feixin.10086.cn:7071/portal/newsignin/index.jsp").text
|
||||
account = re.findall(r'var loginAccount = \"(.*?)\";', resp)
|
||||
if account:
|
||||
account = account[0]
|
||||
else:
|
||||
account = "未获取到用户信息"
|
||||
return account
|
||||
|
||||
def sign(self, session):
|
||||
flag, ticket = self.get_ticket(session=session)
|
||||
if flag:
|
||||
payload = parse.urlencode({"op": "receive", "data": ticket, })
|
||||
resp = session.post(
|
||||
url="http://caiyun.feixin.10086.cn:7070/portal/ajax/common/caiYunSignIn.action",
|
||||
data=payload,
|
||||
).json()
|
||||
if resp["code"] != 10000:
|
||||
msg = "签到失败:" + resp["msg"]
|
||||
else:
|
||||
msg = f'月签到天数: {resp["result"]["monthDays"]}\n当前总积分:{resp["result"]["totalPoints"]}'
|
||||
return msg
|
||||
else:
|
||||
return ticket
|
||||
|
||||
def draw(self, session):
|
||||
payload = parse.urlencode({"op": "luckDraw", "data": self.get_ticket(session=session)})
|
||||
resp = session.post(
|
||||
url="http://caiyun.feixin.10086.cn:7070/portal/ajax/common/caiYunSignIn.action",
|
||||
data=payload,
|
||||
).json()
|
||||
if resp["code"] != 10000:
|
||||
return f"抽奖失败: {resp['msg']}"
|
||||
else:
|
||||
if resp["result"]["type"] == "40160":
|
||||
return "抽奖成功: 小狗电器小型手持床铺除螨仪"
|
||||
elif resp["result"]["type"] == "40175":
|
||||
return "抽奖成功: 飞科男士剃须刀"
|
||||
elif resp["result"]["type"] == "40120":
|
||||
return "抽奖成功: 京东京造电动牙刷"
|
||||
elif resp["result"]["type"] == "40140":
|
||||
return "抽奖成功: 10-100M随机长期存储空间"
|
||||
elif resp["result"]["type"] == "40165":
|
||||
return "抽奖成功: 夏新蓝牙耳机"
|
||||
elif resp["result"]["type"] == "40170":
|
||||
return "抽奖成功: 欧莱雅葡萄籽护肤套餐"
|
||||
else:
|
||||
return "抽奖成功: 谢谢参与"
|
||||
|
||||
def main(self):
|
||||
caiyun_referer = self.check_item.get("caiyun_referer")
|
||||
caiyun_draw = int(self.check_item.get("caiyun_draw", False))
|
||||
caiyun_cookie = {
|
||||
item.split("=")[0]: item.split("=")[1] for item in self.check_item.get("caiyun_cookie").split("; ")
|
||||
}
|
||||
|
||||
session = requests.session()
|
||||
requests.utils.add_dict_to_cookiejar(session.cookies, caiyun_cookie)
|
||||
session.headers.update({
|
||||
"Host": "caiyun.feixin.10086.cn:7070",
|
||||
"Accept": "*/*",
|
||||
"X-Requested-With": "XMLHttpRequest",
|
||||
"User-Agent": self.user_agent,
|
||||
"Content-Type": "application/x-www-form-urlencoded",
|
||||
"Origin": "http://caiyun.feixin.10086.cn:7070",
|
||||
"Referer": caiyun_referer,
|
||||
"Accept-Encoding": "gzip, deflate",
|
||||
"Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8",
|
||||
})
|
||||
username = self.user_info(session=session)
|
||||
sign_msg = self.sign(session=session)
|
||||
if caiyun_draw:
|
||||
draw_msg = self.draw(session=session)
|
||||
else:
|
||||
draw_msg = ""
|
||||
msg = f"用户信息: {username}\n{sign_msg}\n{draw_msg}".strip()
|
||||
return msg
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
with open(
|
||||
os.path.join(os.path.dirname(os.path.dirname(__file__)), "config/config.json"), "r", encoding="utf-8"
|
||||
) as f:
|
||||
datas = json.loads(f.read())
|
||||
_check_item = datas.get("CAIYUN_COOKIE_LIST", [])[0]
|
||||
print(CaiYunCheckIn(check_item=_check_item).main())
|
@ -1,13 +1,13 @@
|
||||
{
|
||||
"DINGTALK_SECRET": "xxxxxx",
|
||||
"DINGTALK_ACCESS_TOKEN": "xxxxxx",
|
||||
"SCKEY": "xxxxxx",
|
||||
"SENDKEY": "xxxxxx",
|
||||
"BARK_URL": "xxxxxx",
|
||||
"QMSG_KEY": "xxxxxx",
|
||||
"TG_BOT_TOKEN": "xxxxxx",
|
||||
"TG_USER_ID": "xxxxxx",
|
||||
"COOLPUSHSKEY": "xxxxxx",
|
||||
"DINGTALK_SECRET": "",
|
||||
"DINGTALK_ACCESS_TOKEN": "",
|
||||
"SCKEY": "",
|
||||
"SENDKEY": "",
|
||||
"BARK_URL": "",
|
||||
"QMSG_KEY": "",
|
||||
"TG_BOT_TOKEN": "",
|
||||
"TG_USER_ID": "",
|
||||
"COOLPUSHSKEY": "",
|
||||
"COOLPUSHQQ": true,
|
||||
"COOLPUSHWX": true,
|
||||
"COOLPUSHEMAIL": true,
|
||||
@ -22,62 +22,62 @@
|
||||
"MOTTO": true,
|
||||
"IQIYI_COOKIE_LIST": [
|
||||
{
|
||||
"iqiyi_cookie": "帐号1 cookie"
|
||||
"iqiyi_cookie": "__dfp=xxxxxx; QP0013=xxxxxx; QP0022=xxxxxx; QYABEX=xxxxxx; P00001=xxxxxx; P00002=xxxxxx; P00003=xxxxxx; P00007=xxxxxx; QC163=xxxxxx; QC175=xxxxxx; QC179=xxxxxx; QC170=xxxxxx; P00010=xxxxxx; P00PRU=xxxxxx; P01010=xxxxxx; QC173=xxxxxx; QC180=xxxxxx; P00004=xxxxxx; QP0030=xxxxxx; QC006=xxxxxx; QC007=xxxxxx; QC008=xxxxxx; QC010=xxxxxx; nu=xxxxxx; __uuid=xxxxxx; QC005=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"iqiyi_cookie": "帐号2 cookie"
|
||||
"iqiyi_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"VQQ_COOKIE_LIST": [
|
||||
{
|
||||
"auth_refresh": "帐号1 refresh url",
|
||||
"vqq_cookie": "帐号1 cookie"
|
||||
"auth_refresh": "https://access.video.qq.com/user/auth_refresh?vappid=xxxxxx&vsecret=xxxxxx&type=qq&g_tk=&g_vstk=xxxxxx&g_actk=xxxxxx&callback=xxxxxx&_=xxxxxx",
|
||||
"vqq_cookie": "pgv_pvid=xxxxxx; pac_uid=xxxxxx; RK=xxxxxx; ptcz=xxxxxx; tvfe_boss_uuid=xxxxxx; video_guid=xxxxxx; video_platform=xxxxxx; pgv_info=xxxxxx; main_login=xxxxxx; vqq_access_token=xxxxxx; vqq_appid=xxxxxx; vqq_openid=xxxxxx; vqq_vuserid=xxxxxx; vqq_refresh_token=xxxxxx; login_time_init=xxxxxx; uid=xxxxxx; vqq_vusession=xxxxxx; vqq_next_refresh_time=xxxxxx; vqq_login_time_init=xxxxxx; login_time_last=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"auth_refresh": "帐号2 refresh url",
|
||||
"vqq_cookie": "帐号2 cookie"
|
||||
"auth_refresh": "多账号 refresh url,请参考上面,以实际获取为准",
|
||||
"vqq_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"YOUDAO_COOKIE_LIST": [
|
||||
{
|
||||
"youdao_cookie": "帐号1 cookie"
|
||||
"youdao_cookie": "JSESSIONID=xxxxxx; __yadk_uid=xxxxxx; OUTFOX_SEARCH_USER_ID_NCOO=xxxxxx; YNOTE_SESS=xxxxxx; YNOTE_PERS=xxxxxx; YNOTE_LOGIN=xxxxxx; YNOTE_CSTK=xxxxxx; _ga=xxxxxx; _gid=xxxxxx; _gat=xxxxxx; PUBLIC_SHARE_18a9dde3de846b6a69e24431764270c4=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"youdao_cookie": "帐号2 cookie"
|
||||
"youdao_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"KGQQ_COOKIE_LIST": [
|
||||
{
|
||||
"kgqq_cookie": "帐号1 cookie"
|
||||
"kgqq_cookie": "muid=xxxxxx; uid=xxxxxx; userlevel=xxxxxx; openid=xxxxxx; openkey=xxxxxx; opentype=xxxxxx; qrsig=xxxxxx; pgv_pvid=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"kgqq_cookie": "帐号2 cookie"
|
||||
"kgqq_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"MUSIC163_ACCOUNT_LIST": [
|
||||
{
|
||||
"music163_phone": "帐号1 手机号",
|
||||
"music163_password": "帐号1 密码"
|
||||
"music163_phone": "18888xxxxxx",
|
||||
"music163_password": "Sitoi"
|
||||
},
|
||||
{
|
||||
"music163_phone": "帐号2 手机号",
|
||||
"music163_password": "帐号2 密码"
|
||||
"music163_phone": "多账号 手机号",
|
||||
"music163_password": "多账号 密码"
|
||||
}
|
||||
],
|
||||
"XMLY_COOKIE_LIST": [
|
||||
{
|
||||
"xmly_cookie": "帐号1 cookie"
|
||||
"xmly_cookie": "1&_device=xxxxxx; 1&_token=xxxxxx; NSUP=xxxxxx; XUM=xxxxxx; ainr=xxxxxx; c-oper=xxxxxx; channel=xxxxxx; device_model=xxxxxx; idfa=xxxxxx; impl=xxxxxx; ip=xxxxxx; net-mode=xxxxxx; res=xxxxxx; _xmLog=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"xmly_cookie": "帐号2 cookie"
|
||||
"xmly_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"ONEPLUSBBS_COOKIE_LIST": [
|
||||
{
|
||||
"oneplusbbs_cookie": "帐号1 cookie"
|
||||
"oneplusbbs_cookie": "acw_tc=xxxxxx; qKc3_0e8d_saltkey=xxxxxx; qKc3_0e8d_lastvisit=xxxxxx; bbs_avatar=xxxxxx; qKc3_0e8d_sendmail=xxxxxx; opcid=xxxxxx; opcct=xxxxxx; oppt=xxxxxx; opsid=xxxxxx; opsct=xxxxxx; opbct=xxxxxx; UM_distinctid=xxxxxx; CNZZDATA1277373783=xxxxxx; www_clear=xxxxxx; ONEPLUSID=xxxxxx; qKc3_0e8d_sid=xxxxxx; bbs_uid=xxxxxx; bbs_uname=xxxxxx; bbs_grouptitle=xxxxxx; opuserid=xxxxxx; bbs_sign=xxxxxx; bbs_formhash=xxxxxx; qKc3_0e8d_ulastactivity=xxxxxx; opsertime=xxxxxx; qKc3_0e8d_lastact=xxxxxx; qKc3_0e8d_checkpm=xxxxxx; qKc3_0e8d_noticeTitle=xxxxxx; optime_browser=xxxxxx; opnt=xxxxxx; opstep=xxxxxx; opstep_event=xxxxxx; fp=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"oneplusbbs_cookie": "帐号2 cookie"
|
||||
"oneplusbbs_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"BAIDU_URL_SUBMIT_LIST": [
|
||||
@ -87,40 +87,40 @@
|
||||
"times": 10
|
||||
},
|
||||
{
|
||||
"data_url": "帐号2 data_url",
|
||||
"submit_url": "帐号2 submit_url",
|
||||
"data_url": "多账号 data_url 链接地址,以实际获取为准",
|
||||
"submit_url": "多账号 submit_url 链接地址,以实际获取为准",
|
||||
"times": 10
|
||||
}
|
||||
],
|
||||
"FMAPP_ACCOUNT_LIST": [
|
||||
{
|
||||
"fmapp_token": "帐号1 token",
|
||||
"fmapp_cookie": "帐号1 cookie",
|
||||
"fmapp_device_id": "帐号1 device_id"
|
||||
"fmapp_token": "xxxxxx.xxxxxx-xxxxxx-xxxxxx.xxxxxx-xxxxxx",
|
||||
"fmapp_cookie": "sensorsdata2015jssdkcross=xxxxxx",
|
||||
"fmapp_device_id": "xxxxxx-xxxx-xxxx-xxxx-xxxxxx"
|
||||
},
|
||||
{
|
||||
"fmapp_token": "帐号2 token",
|
||||
"fmapp_cookie": "帐号2 cookie",
|
||||
"fmapp_device_id": "帐号2 device_id"
|
||||
"fmapp_token": "多账号 token 填写,请参考上面,以实际获取为准",
|
||||
"fmapp_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
|
||||
"fmapp_device_id": "多账号 device_id 填写,请参考上面,以实际获取为准"
|
||||
}
|
||||
],
|
||||
"TIEBA_COOKIE_LIST": [
|
||||
{
|
||||
"tieba_cookie": "帐号1 cookie"
|
||||
"tieba_cookie": "BIDUPSID=xxxxxx; PSTM=xxxxxx; BAIDUID=xxxxxx; BAIDUID_BFESS=xxxxxx; delPer=xxxxxx; PSINO=xxxxxx; H_PS_PSSID=xxxxxx; BA_HECTOR=xxxxxx; BDORZ=xxxxxx; TIEBA_USERTYPE=xxxxxx; st_key_id=xxxxxx; BDUSS=xxxxxx; BDUSS_BFESS=xxxxxx; STOKEN=xxxxxx; TIEBAUID=xxxxxx; ab_sr=xxxxxx; st_data=xxxxxx; st_sign=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"tieba_cookie": "帐号2 cookie"
|
||||
"tieba_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"BILIBILI_COOKIE_LIST": [
|
||||
{
|
||||
"bilibili_cookie": "帐号1 cookie",
|
||||
"bilibili_cookie": "_uuid=xxxxxx; rpdid=xxxxxx; LIVE_BUVID=xxxxxx; PVID=xxxxxx; blackside_state=xxxxxx; CURRENT_FNVAL=xxxxxx; buvid3=xxxxxx; fingerprint3=xxxxxx; fingerprint=xxxxxx; buivd_fp=xxxxxx; buvid_fp_plain=xxxxxx; DedeUserID=xxxxxx; DedeUserID__ckMd5=xxxxxx; SESSDATA=xxxxxx; bili_jct=xxxxxx; bsource=xxxxxx; finger=xxxxxx; fingerprint_s=xxxxxx;",
|
||||
"coin_num": 0,
|
||||
"coin_type": 1,
|
||||
"silver2coin": true
|
||||
},
|
||||
{
|
||||
"bilibili_cookie": "帐号2 cookie",
|
||||
"bilibili_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
|
||||
"coin_num": 0,
|
||||
"coin_type": 1,
|
||||
"silver2coin": true
|
||||
@ -128,112 +128,124 @@
|
||||
],
|
||||
"LIANTONG_ACCOUNT_LIST": [
|
||||
{
|
||||
"data": "simCount=1&version=iphone_c@8.0100&mobile=xxxxxx&netWay=wifi&isRemberPwd=false&appId=xxxxxx&deviceId=xxxxxx&pip=192.168.1.1&password=xxxxxx&deviceOS=14.3&deviceBrand=iphone&deviceModel=iPhone&remark4=&keyVersion=2&deviceCode=xxxxxx"
|
||||
"data": "simCount=1&version=xxxxxx@8.0100&mobile=xxxxxx&netWay=wifi&isRemberPwd=false&appId=xxxxxx&deviceId=xxxxxx&pip=xxxxxx&password=xxxxxx&deviceOS=14.3&deviceBrand=iphone&deviceModel=iPhone&remark4=&keyVersion=2&deviceCode=xxxxxx"
|
||||
},
|
||||
{
|
||||
"data": "帐号2 信息"
|
||||
"data": "多账号 请求 中的参数信息填写,请参考上面,以实际获取为准"
|
||||
}
|
||||
],
|
||||
"V2EX_COOKIE_LIST": [
|
||||
{
|
||||
"v2ex_cookie": "帐号1 cookie"
|
||||
"v2ex_cookie": "_ga=xxxxxx; __cfduid=xxxxxx; PB3_SESSION=xxxxxx; A2=xxxxxx; V2EXSETTINGS=xxxxxx; V2EX_REFERRER=xxxxxx; V2EX_LANG=xxxxxx; _gid=xxxxxx; V2EX_TAB=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"v2ex_cookie": "帐号2 cookie"
|
||||
"v2ex_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"WWW2NZZ_COOKIE_LIST": [
|
||||
{
|
||||
"www2nzz_cookie": "帐号1 cookie"
|
||||
"www2nzz_cookie": "YPx9_2132_saltkey=xxxxxx; YPx9_2132_lastvisit=xxxxxx; YPx9_2132_sendmail=xxxxxx; YPx9_2132_con_request_uri=xxxxxx; YPx9_2132_sid=xxxxxx; YPx9_2132_client_created=xxxxxx; YPx9_2132_client_token=xxxxxx; YPx9_2132_ulastactivity=xxxxxx; YPx9_2132_auth=xxxxxx; YPx9_2132_connect_login=xxxxxx; YPx9_2132_connect_is_bind=xxxxxx; YPx9_2132_connect_uin=xxxxxx; YPx9_2132_stats_qc_login=xxxxxx; YPx9_2132_checkpm=xxxxxx; YPx9_2132_noticeTitle=xxxxxx; YPx9_2132_nofavfid=xxxxxx; YPx9_2132_lastact=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"www2nzz_cookie": "帐号2 cookie"
|
||||
"www2nzz_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"SMZDM_COOKIE_LIST": [
|
||||
{
|
||||
"smzdm_cookie": "账号1 cookie"
|
||||
"smzdm_cookie": "__jsluid_s=xxxxxx; __ckguid=xxxxxx; device_id=xxxxxx; homepage_sug=xxxxxx; r_sort_type=xxxxxx; _zdmA.vid=xxxxxx; sajssdk_2015_cross_new_user=xxxxxx; sensorsdata2015jssdkcross=xxxxxx; footer_floating_layer=xxxxxx; ad_date=xxxxxx; ad_json_feed=xxxxxx; zdm_qd=xxxxxx; sess=xxxxxx; user=xxxxxx; _zdmA.uid=xxxxxx; smzdm_id=xxxxxx; userId=xxxxxx; bannerCounter=xxxxxx; _zdmA.time=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"smzdm_cookie": "账号2 cookie"
|
||||
"smzdm_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"MIMOTION_ACCOUNT_LIST": [
|
||||
{
|
||||
"mimotion_phone": "账号1",
|
||||
"mimotion_password": "账号1 密码",
|
||||
"mimotion_min_step": "账号1 最小步数",
|
||||
"mimotion_max_step": "账号1 最大步数"
|
||||
"mimotion_phone": "18888xxxxxx",
|
||||
"mimotion_password": "Sitoi",
|
||||
"mimotion_min_step": "10000",
|
||||
"mimotion_max_step": "20000"
|
||||
},
|
||||
{
|
||||
"mimotion_phone": "账号2",
|
||||
"mimotion_password": "账号2 密码",
|
||||
"mimotion_min_step": "账号2 最小步数",
|
||||
"mimotion_max_step": "账号2 最大步数"
|
||||
"mimotion_phone": "多账号 手机号填写,请参考上面",
|
||||
"mimotion_password": "多账号 密码填写,请参考上面",
|
||||
"mimotion_min_step": "多账号 最小步数填写,请参考上面",
|
||||
"mimotion_max_step": "多账号 最大步数填写,请参考上面"
|
||||
}
|
||||
],
|
||||
"ACFUN_ACCOUNT_LIST": [
|
||||
{
|
||||
"acfun_phone": "帐号1 手机号",
|
||||
"acfun_password": "帐号1 密码"
|
||||
"acfun_phone": "18888xxxxxx",
|
||||
"acfun_password": "Sitoi"
|
||||
},
|
||||
{
|
||||
"acfun_phone": "帐号2 手机号",
|
||||
"acfun_password": "帐号2 密码"
|
||||
"acfun_phone": "多账号 手机号填写,请参考上面",
|
||||
"acfun_password": "多账号 密码填写,请参考上面"
|
||||
}
|
||||
],
|
||||
"CLOUD189_ACCOUNT_LIST": [
|
||||
{
|
||||
"cloud189_phone": "帐号1 手机号",
|
||||
"cloud189_password": "帐号1 密码"
|
||||
"cloud189_phone": "18888xxxxxx",
|
||||
"cloud189_password": "Sitoi"
|
||||
},
|
||||
{
|
||||
"cloud189_phone": "帐号2 手机号",
|
||||
"cloud189_password": "帐号2 密码"
|
||||
"cloud189_phone": "多账号 手机号填写,请参考上面",
|
||||
"cloud189_password": "多账号 密码填写,请参考上面"
|
||||
}
|
||||
],
|
||||
"WPS_COOKIE_LIST": [
|
||||
{
|
||||
"wps_cookie": "帐号1 cookie"
|
||||
"wps_cookie": "csrf=xxxxxx; wpsqing_autoLoginV1=xxxxxx; wps_sid=xxxxxx; uzone=xxxxxx; ulocale=xxxxxx; XSRF-TOKEN=xxxxxx; _session=xxxxxx; logined=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"wps_cookie": "帐号2 cookie"
|
||||
"wps_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"POJIE_COOKIE_LIST": [
|
||||
{
|
||||
"pojie_cookie": "帐号1 cookie"
|
||||
"pojie_cookie": "htVD_2132_client_token=xxxxxx; htVD_2132_connect_is_bind=xxxxxx; htVD_2132_connect_uin=xxxxxx; htVD_2132_nofavfid=xxxxxx; htVD_2132_smile=xxxxxx; Hm_lvt_46d556462595ed05e05f009cdafff31a=xxxxxx; htVD_2132_saltkey=xxxxxx; htVD_2132_lastvisit=xxxxxx; htVD_2132_client_created=xxxxxx; htVD_2132_auth=xxxxxx; htVD_2132_connect_login=xxxxxx; htVD_2132_home_diymode=xxxxxx; htVD_2132_visitedfid=xxxxxx; htVD_2132_viewid=xxxxxx; KF4=xxxxxx; htVD_2132_st_p=xxxxxx; htVD_2132_lastcheckfeed=xxxxxx; htVD_2132_sid=xxxxxx; htVD_2132_ulastactivity=xxxxxx; htVD_2132_noticeTitle=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"pojie_cookie": "帐号2 cookie"
|
||||
"pojie_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"MGTV_PARAMS_LIST": [
|
||||
{
|
||||
"mgtv_params": "账号1 params"
|
||||
"mgtv_params": "uuid=xxxxxx&uid=xxxxxx&ticket=xxxxxx&token=xxxxxx&device=iPhone&did=xxxxxx&deviceId=xxxxxx&appVersion=6.8.2&osType=ios&platform=iphone&abroad=0&aid=xxxxxx&nonce=xxxxxx×tamp=xxxxxx&appid=xxxxxx&type=1&sign=xxxxxx&callback=xxxxxx"
|
||||
},
|
||||
{
|
||||
"mgtv_params": "账号2 params"
|
||||
"mgtv_params": "多账号 请求参数填写,请参考上面"
|
||||
}
|
||||
],
|
||||
"PICACOMIC_ACCOUNT_LIST": [
|
||||
{
|
||||
"picacomic_email": "账号1 账号",
|
||||
"picacomic_password": "账号1 密码"
|
||||
"picacomic_email": "Sitoi",
|
||||
"picacomic_password": "Sitoi"
|
||||
},
|
||||
{
|
||||
"picacomic_email": "账号2 账号",
|
||||
"picacomic_password": "账号2 密码"
|
||||
"picacomic_email": "多账号 账号填写,请参考上面",
|
||||
"picacomic_password": "多账号 密码填写,请参考上面"
|
||||
}
|
||||
],
|
||||
"MEIZU_COOKIE_LIST": [
|
||||
{
|
||||
"meizu_cookie": "账号1 cookie",
|
||||
"draw_count": "账号1 抽奖次数"
|
||||
"meizu_cookie": "aliyungf_tc=xxxxxx; logined_uid=xxxxxx; acw_tc=xxxxxx; LT=xxxxxx; MZBBS_2132_saltkey=xxxxxx; MZBBS_2132_lastvisit=xxxxxx; MZBBSUC_2132_auth=xxxxxx; MZBBSUC_2132_loginmember=xxxxxx; MZBBSUC_2132_ticket=xxxxxx; MZBBS_2132_sid=xxxxxx; MZBBS_2132_ulastactivity=xxxxxx; MZBBS_2132_auth=xxxxxx; MZBBS_2132_loginmember=xxxxxx; MZBBS_2132_lastcheckfeed=xxxxxx; MZBBS_2132_checkfollow=xxxxxx; MZBBS_2132_lastact=xxxxxx;",
|
||||
"draw_count": "1"
|
||||
},
|
||||
{
|
||||
"meizu_cookie": "账号2 cookie",
|
||||
"draw_count": "账号2 抽奖次数"
|
||||
"meizu_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
|
||||
"draw_count": "多账号 抽奖次数设置"
|
||||
}
|
||||
],
|
||||
"CAIYUN_COOKIE_LIST": [
|
||||
{
|
||||
"caiyun_cookie": "WAPJSESSIONID=xxxxxx; bc_mo=xxxxxx; bc_ps=xxxxxx; bc_to=xxxxxx; JSESSIONID=xxxxxx; sensorsdata2015jssdkcross=xxxxxx; sajssdk_2015_cross_new_user=1",
|
||||
"caiyun_referer": "https://caiyun.feixin.10086.cn:7071/portal/newsignin/index.jsp",
|
||||
"caiyun_draw": false
|
||||
},
|
||||
{
|
||||
"caiyun_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
|
||||
"caiyun_referer": "多账号 请求重定向地址,填写,请参考上面,以实际获取为准",
|
||||
"caiyun_draw": "多账号 是否开启抽奖,填写 true or false 去掉双引号"
|
||||
}
|
||||
]
|
||||
}
|
@ -41,6 +41,7 @@ if [[ $MGTV_PARAMS_LIST ]]; then echo "MGTV_PARAMS_LIST 变量存在,并成功
|
||||
if [[ $PICACOMIC_ACCOUNT_LIST ]]; then echo "PICACOMIC_ACCOUNT_LIST 变量存在,并成功赋值" ;else PICACOMIC_ACCOUNT_LIST=[]; fi;
|
||||
if [[ $MEIZU_COOKIE_LIST ]]; then echo "MEIZU_COOKIE_LIST 变量存在,并成功赋值" ;else MEIZU_COOKIE_LIST=[]; fi;
|
||||
if [[ $CLOUD189_ACCOUNT_LIST ]]; then echo "CLOUD189_ACCOUNT_LIST 变量存在,并成功赋值" ;else CLOUD189_ACCOUNT_LIST=[]; fi;
|
||||
if [[ $CAIYUN_COOKIE_LIST ]]; then echo "CAIYUN_COOKIE_LIST 变量存在,并成功赋值" ;else CAIYUN_COOKIE_LIST=[]; fi;
|
||||
|
||||
|
||||
JSONSTR="{
|
||||
@ -85,6 +86,7 @@ JSONSTR="{
|
||||
\"MGTV_PARAMS_LIST\": ${MGTV_PARAMS_LIST},
|
||||
\"PICACOMIC_ACCOUNT_LIST\": ${PICACOMIC_ACCOUNT_LIST},
|
||||
\"MEIZU_COOKIE_LIST\": ${MEIZU_COOKIE_LIST},
|
||||
\"CAIYUN_COOKIE_LIST\": ${CAIYUN_COOKIE_LIST},
|
||||
\"TIEBA_COOKIE_LIST\": ${TIEBA_COOKIE_LIST}
|
||||
}"
|
||||
echo $JSONSTR > config/config.json
|
||||
|
@ -51,6 +51,13 @@ docker exec dailycheckin python3 index.py
|
||||
docker exec dailycheckin python3 index.py xmly
|
||||
```
|
||||
|
||||
|
||||
##### 更新最新脚本
|
||||
|
||||
```bash
|
||||
docker exec dailycheckin sh /dailycheckin/docker/default_task.sh
|
||||
```
|
||||
|
||||
## 附录
|
||||
|
||||
### docker-compose 安装
|
||||
|
@ -21,20 +21,21 @@
|
||||
|签到|[腾讯视频](https://v.qq.com/)|每日两次腾讯视频签到获取成长值|每天一次|
|
||||
|签到|[有道云笔记](https://note.youdao.com/web/)|每日签到获取存储空间|每天一次|
|
||||
|签到|[网易云音乐](https://music.163.com/)|每日自动登录签到 + 刷歌 310 首|每天一次|
|
||||
|签到|[一加手机社区官方论坛](https://www.oneplusbbs.com/)|论坛每日签到 + 10 次抽奖|每天一次|
|
||||
|签到|[一加手机社区官方论坛](https://www.oneplusbbs.com/)|论坛每日签到 + 10 次抽奖任务|每天一次|
|
||||
|签到|[百度贴吧](https://tieba.baidu.com/index.html)|贴吧每日签到|每天一次|
|
||||
|签到|[Bilibili](https://www.bilibili.com)|直播签到,漫画签到,每日经验任务,自动投币,银瓜子换硬币等功能|每天一次|
|
||||
|签到|[V2EX](https://www.v2ex.com/)|每日签到|每天一次|
|
||||
|签到|[V2EX](https://www.v2ex.com/)|铜币奖励|每天一次|
|
||||
|签到|[咔叽网单](https://www.2nzz.com/)|每日签到|每天一次|
|
||||
|签到|[什么值得买](https://www.smzdm.com)|每日签到|每天一次|
|
||||
|签到|[AcFun](https://www.acfun.cn/)|每日签到|每天一次|
|
||||
|签到|[天翼云盘](https://cloud.189.cn/)|每日签到|每天一次|
|
||||
|签到|[AcFun](https://www.acfun.cn/)|每日签到香蕉|每天一次|
|
||||
|签到|[天翼云盘](https://cloud.189.cn/)|每日签到+2次抽奖获得空间奖励|每天一次|
|
||||
|签到|[WPS](https://www.wps.cn/)|每日签到|每天一次|
|
||||
|签到|[吾爱破解](https://www.52pojie.cn/index.php)|每日签到|每天一次|
|
||||
|签到|[哔咔漫画](https://www.picacomic.com)|每日签到|每天一次|
|
||||
|签到|[吾爱破解](https://www.52pojie.cn/index.php)|2枚吾爱币|每天一次|
|
||||
|签到|[哔咔漫画](https://www.picacomic.com)|成长值奖励|每天一次|
|
||||
|签到|[MEIZU 社区](https://bbs.meizu.cn)|每日签到,可配置抽奖|每天一次|
|
||||
|签到|[和彩云](https://caiyun.feixin.10086.cn:7071/portal/newsignin/index.jsp)|每日签到获取积分,积分可兑换物品|每天一次|
|
||||
|签到|芒果 TV|签到获取体验会员|每天一次|
|
||||
|签到|联通营业厅|每日签到|每天一次|
|
||||
|签到|联通营业厅|积分+流量奖励|每天一次|
|
||||
|签到|Fa米家 APP|连续签到7天总计获得6粒Fa米粒,每月15号23.59分清空Fa米粒。理论一个月最少获得24粒fa米粒。|每天一次|
|
||||
|羊毛|喜马拉雅极速版|金币获取|30分钟一次|
|
||||
|其他|小米运动|每日小米运动刷步数|每天一次|
|
||||
|
198
docs/settings.md
198
docs/settings.md
@ -52,6 +52,9 @@
|
||||
|_**POJIE_COOKIE_LIST**_.pojie_cookie|[吾爱破解](https://www.52pojie.cn/index.php)|Web| 吾爱破解 cookie|
|
||||
|_**MEIZU_COOKIE_LIST**_.meizu_cookie|[MEIZU 社区](https://bbs.meizu.cn)|Web| MEIZU 社区 cookie|
|
||||
|_**MEIZU_COOKIE_LIST**_.draw_count|[MEIZU 社区](https://bbs.meizu.cn)|Web| MEIZU 社区 抽奖次数|
|
||||
|_**CAIYUN_COOKIE_LIST**_.caiyun_cookie|[和彩云](https://caiyun.feixin.10086.cn:7071/portal/newsignin/index.jsp)|Web| 和彩云 cookie|
|
||||
|_**CAIYUN_COOKIE_LIST**_.caiyun_referer|[和彩云](https://caiyun.feixin.10086.cn:7071/portal/newsignin/index.jsp)|Web| 和彩云 referer|
|
||||
|_**CAIYUN_COOKIE_LIST**_.caiyun_draw|[和彩云](https://caiyun.feixin.10086.cn:7071/portal/newsignin/index.jsp)|Web| 和彩云 是否开启抽奖|
|
||||
|
||||
### APP 签到配置
|
||||
|
||||
@ -97,35 +100,6 @@
|
||||
5. 选中 `www.iqiyi.com`
|
||||
6. 下滑找到 `cookie` 全选复制即可
|
||||
|
||||
### 帐号参数
|
||||
|
||||
#### 网易云音乐帐号信息
|
||||
|
||||
[网易云音乐](https://music.163.com/)
|
||||
|
||||
- _**MUSIC163_ACCOUNT_LIST**_.music163_phone: 网易云音乐手机号
|
||||
- _**MUSIC163_ACCOUNT_LIST**_.music163_password: 网易云音乐手机号对应的密码
|
||||
|
||||
#### AcFun 帐号信息
|
||||
|
||||
[AcFun](https://www.acfun.cn/)
|
||||
|
||||
- _**ACFUN_ACCOUNT_LIST**_.acfun_phone: AcFun 手机号
|
||||
- _**ACFUN_ACCOUNT_LIST**_.acfun_password: AcFun 手机号对应的密码
|
||||
|
||||
#### 天翼云盘 帐号信息
|
||||
|
||||
[天翼云盘](https://cloud.189.cn/)
|
||||
|
||||
- _**CLOUD189_ACCOUNT_LIST**_.cloud189_phone: 天翼云盘 手机号
|
||||
- _**CLOUD189_ACCOUNT_LIST**_.cloud189_password: 天翼云盘 手机号对应的密码
|
||||
|
||||
#### 哔咔漫画 帐号信息
|
||||
|
||||
[哔咔漫画](https://www.picacomic.com)
|
||||
|
||||
- _**PICACOMIC_ACCOUNT_LIST**_.picacomic_email: 哔咔漫画 账号
|
||||
- _**PICACOMIC_ACCOUNT_LIST**_.picacomic_password: 哔咔漫画 密码
|
||||
|
||||
### APP 抓包
|
||||
|
||||
@ -199,15 +173,15 @@
|
||||
|
||||
```json
|
||||
{
|
||||
"DINGTALK_SECRET": "xxxxxx",
|
||||
"DINGTALK_ACCESS_TOKEN": "xxxxxx",
|
||||
"SCKEY": "xxxxxx",
|
||||
"SENDKEY": "xxxxxx",
|
||||
"BARK_URL": "xxxxxx",
|
||||
"QMSG_KEY": "xxxxxx",
|
||||
"TG_BOT_TOKEN": "xxxxxx",
|
||||
"TG_USER_ID": "xxxxxx",
|
||||
"COOLPUSHSKEY": "xxxxxx",
|
||||
"DINGTALK_SECRET": "",
|
||||
"DINGTALK_ACCESS_TOKEN": "",
|
||||
"SCKEY": "",
|
||||
"SENDKEY": "",
|
||||
"BARK_URL": "",
|
||||
"QMSG_KEY": "",
|
||||
"TG_BOT_TOKEN": "",
|
||||
"TG_USER_ID": "",
|
||||
"COOLPUSHSKEY": "",
|
||||
"COOLPUSHQQ": true,
|
||||
"COOLPUSHWX": true,
|
||||
"COOLPUSHEMAIL": true,
|
||||
@ -222,62 +196,62 @@
|
||||
"MOTTO": true,
|
||||
"IQIYI_COOKIE_LIST": [
|
||||
{
|
||||
"iqiyi_cookie": "帐号1 cookie"
|
||||
"iqiyi_cookie": "__dfp=xxxxxx; QP0013=xxxxxx; QP0022=xxxxxx; QYABEX=xxxxxx; P00001=xxxxxx; P00002=xxxxxx; P00003=xxxxxx; P00007=xxxxxx; QC163=xxxxxx; QC175=xxxxxx; QC179=xxxxxx; QC170=xxxxxx; P00010=xxxxxx; P00PRU=xxxxxx; P01010=xxxxxx; QC173=xxxxxx; QC180=xxxxxx; P00004=xxxxxx; QP0030=xxxxxx; QC006=xxxxxx; QC007=xxxxxx; QC008=xxxxxx; QC010=xxxxxx; nu=xxxxxx; __uuid=xxxxxx; QC005=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"iqiyi_cookie": "帐号2 cookie"
|
||||
"iqiyi_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"VQQ_COOKIE_LIST": [
|
||||
{
|
||||
"auth_refresh": "帐号1 refresh url",
|
||||
"vqq_cookie": "帐号1 cookie"
|
||||
"auth_refresh": "https://access.video.qq.com/user/auth_refresh?vappid=xxxxxx&vsecret=xxxxxx&type=qq&g_tk=&g_vstk=xxxxxx&g_actk=xxxxxx&callback=xxxxxx&_=xxxxxx",
|
||||
"vqq_cookie": "pgv_pvid=xxxxxx; pac_uid=xxxxxx; RK=xxxxxx; ptcz=xxxxxx; tvfe_boss_uuid=xxxxxx; video_guid=xxxxxx; video_platform=xxxxxx; pgv_info=xxxxxx; main_login=xxxxxx; vqq_access_token=xxxxxx; vqq_appid=xxxxxx; vqq_openid=xxxxxx; vqq_vuserid=xxxxxx; vqq_refresh_token=xxxxxx; login_time_init=xxxxxx; uid=xxxxxx; vqq_vusession=xxxxxx; vqq_next_refresh_time=xxxxxx; vqq_login_time_init=xxxxxx; login_time_last=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"auth_refresh": "帐号2 refresh url",
|
||||
"vqq_cookie": "帐号2 cookie"
|
||||
"auth_refresh": "多账号 refresh url,请参考上面,以实际获取为准",
|
||||
"vqq_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"YOUDAO_COOKIE_LIST": [
|
||||
{
|
||||
"youdao_cookie": "帐号1 cookie"
|
||||
"youdao_cookie": "JSESSIONID=xxxxxx; __yadk_uid=xxxxxx; OUTFOX_SEARCH_USER_ID_NCOO=xxxxxx; YNOTE_SESS=xxxxxx; YNOTE_PERS=xxxxxx; YNOTE_LOGIN=xxxxxx; YNOTE_CSTK=xxxxxx; _ga=xxxxxx; _gid=xxxxxx; _gat=xxxxxx; PUBLIC_SHARE_18a9dde3de846b6a69e24431764270c4=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"youdao_cookie": "帐号2 cookie"
|
||||
"youdao_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"KGQQ_COOKIE_LIST": [
|
||||
{
|
||||
"kgqq_cookie": "帐号1 cookie"
|
||||
"kgqq_cookie": "muid=xxxxxx; uid=xxxxxx; userlevel=xxxxxx; openid=xxxxxx; openkey=xxxxxx; opentype=xxxxxx; qrsig=xxxxxx; pgv_pvid=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"kgqq_cookie": "帐号2 cookie"
|
||||
"kgqq_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"MUSIC163_ACCOUNT_LIST": [
|
||||
{
|
||||
"music163_phone": "帐号1 手机号",
|
||||
"music163_password": "帐号1 密码"
|
||||
"music163_phone": "18888xxxxxx",
|
||||
"music163_password": "Sitoi"
|
||||
},
|
||||
{
|
||||
"music163_phone": "帐号2 手机号",
|
||||
"music163_password": "帐号2 密码"
|
||||
"music163_phone": "多账号 手机号",
|
||||
"music163_password": "多账号 密码"
|
||||
}
|
||||
],
|
||||
"XMLY_COOKIE_LIST": [
|
||||
{
|
||||
"xmly_cookie": "帐号1 cookie"
|
||||
"xmly_cookie": "1&_device=xxxxxx; 1&_token=xxxxxx; NSUP=xxxxxx; XUM=xxxxxx; ainr=xxxxxx; c-oper=xxxxxx; channel=xxxxxx; device_model=xxxxxx; idfa=xxxxxx; impl=xxxxxx; ip=xxxxxx; net-mode=xxxxxx; res=xxxxxx; _xmLog=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"xmly_cookie": "帐号2 cookie"
|
||||
"xmly_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"ONEPLUSBBS_COOKIE_LIST": [
|
||||
{
|
||||
"oneplusbbs_cookie": "帐号1 cookie"
|
||||
"oneplusbbs_cookie": "acw_tc=xxxxxx; qKc3_0e8d_saltkey=xxxxxx; qKc3_0e8d_lastvisit=xxxxxx; bbs_avatar=xxxxxx; qKc3_0e8d_sendmail=xxxxxx; opcid=xxxxxx; opcct=xxxxxx; oppt=xxxxxx; opsid=xxxxxx; opsct=xxxxxx; opbct=xxxxxx; UM_distinctid=xxxxxx; CNZZDATA1277373783=xxxxxx; www_clear=xxxxxx; ONEPLUSID=xxxxxx; qKc3_0e8d_sid=xxxxxx; bbs_uid=xxxxxx; bbs_uname=xxxxxx; bbs_grouptitle=xxxxxx; opuserid=xxxxxx; bbs_sign=xxxxxx; bbs_formhash=xxxxxx; qKc3_0e8d_ulastactivity=xxxxxx; opsertime=xxxxxx; qKc3_0e8d_lastact=xxxxxx; qKc3_0e8d_checkpm=xxxxxx; qKc3_0e8d_noticeTitle=xxxxxx; optime_browser=xxxxxx; opnt=xxxxxx; opstep=xxxxxx; opstep_event=xxxxxx; fp=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"oneplusbbs_cookie": "帐号2 cookie"
|
||||
"oneplusbbs_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"BAIDU_URL_SUBMIT_LIST": [
|
||||
@ -287,40 +261,40 @@
|
||||
"times": 10
|
||||
},
|
||||
{
|
||||
"data_url": "帐号2 data_url",
|
||||
"submit_url": "帐号2 submit_url",
|
||||
"data_url": "多账号 data_url 链接地址,以实际获取为准",
|
||||
"submit_url": "多账号 submit_url 链接地址,以实际获取为准",
|
||||
"times": 10
|
||||
}
|
||||
],
|
||||
"FMAPP_ACCOUNT_LIST": [
|
||||
{
|
||||
"fmapp_token": "帐号1 token",
|
||||
"fmapp_cookie": "帐号1 cookie",
|
||||
"fmapp_device_id": "帐号1 device_id"
|
||||
"fmapp_token": "xxxxxx.xxxxxx-xxxxxx-xxxxxx.xxxxxx-xxxxxx",
|
||||
"fmapp_cookie": "sensorsdata2015jssdkcross=xxxxxx",
|
||||
"fmapp_device_id": "xxxxxx-xxxx-xxxx-xxxx-xxxxxx"
|
||||
},
|
||||
{
|
||||
"fmapp_token": "帐号2 token",
|
||||
"fmapp_cookie": "帐号2 cookie",
|
||||
"fmapp_device_id": "帐号2 device_id"
|
||||
"fmapp_token": "多账号 token 填写,请参考上面,以实际获取为准",
|
||||
"fmapp_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
|
||||
"fmapp_device_id": "多账号 device_id 填写,请参考上面,以实际获取为准"
|
||||
}
|
||||
],
|
||||
"TIEBA_COOKIE_LIST": [
|
||||
{
|
||||
"tieba_cookie": "帐号1 cookie"
|
||||
"tieba_cookie": "BIDUPSID=xxxxxx; PSTM=xxxxxx; BAIDUID=xxxxxx; BAIDUID_BFESS=xxxxxx; delPer=xxxxxx; PSINO=xxxxxx; H_PS_PSSID=xxxxxx; BA_HECTOR=xxxxxx; BDORZ=xxxxxx; TIEBA_USERTYPE=xxxxxx; st_key_id=xxxxxx; BDUSS=xxxxxx; BDUSS_BFESS=xxxxxx; STOKEN=xxxxxx; TIEBAUID=xxxxxx; ab_sr=xxxxxx; st_data=xxxxxx; st_sign=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"tieba_cookie": "帐号2 cookie"
|
||||
"tieba_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"BILIBILI_COOKIE_LIST": [
|
||||
{
|
||||
"bilibili_cookie": "帐号1 cookie",
|
||||
"bilibili_cookie": "_uuid=xxxxxx; rpdid=xxxxxx; LIVE_BUVID=xxxxxx; PVID=xxxxxx; blackside_state=xxxxxx; CURRENT_FNVAL=xxxxxx; buvid3=xxxxxx; fingerprint3=xxxxxx; fingerprint=xxxxxx; buivd_fp=xxxxxx; buvid_fp_plain=xxxxxx; DedeUserID=xxxxxx; DedeUserID__ckMd5=xxxxxx; SESSDATA=xxxxxx; bili_jct=xxxxxx; bsource=xxxxxx; finger=xxxxxx; fingerprint_s=xxxxxx;",
|
||||
"coin_num": 0,
|
||||
"coin_type": 1,
|
||||
"silver2coin": true
|
||||
},
|
||||
{
|
||||
"bilibili_cookie": "帐号2 cookie",
|
||||
"bilibili_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
|
||||
"coin_num": 0,
|
||||
"coin_type": 1,
|
||||
"silver2coin": true
|
||||
@ -328,112 +302,124 @@
|
||||
],
|
||||
"LIANTONG_ACCOUNT_LIST": [
|
||||
{
|
||||
"data": "simCount=1&version=iphone_c@8.0100&mobile=xxxxxx&netWay=wifi&isRemberPwd=false&appId=xxxxxx&deviceId=xxxxxx&pip=192.168.1.1&password=xxxxxx&deviceOS=14.3&deviceBrand=iphone&deviceModel=iPhone&remark4=&keyVersion=2&deviceCode=xxxxxx"
|
||||
"data": "simCount=1&version=xxxxxx@8.0100&mobile=xxxxxx&netWay=wifi&isRemberPwd=false&appId=xxxxxx&deviceId=xxxxxx&pip=xxxxxx&password=xxxxxx&deviceOS=14.3&deviceBrand=iphone&deviceModel=iPhone&remark4=&keyVersion=2&deviceCode=xxxxxx"
|
||||
},
|
||||
{
|
||||
"data": "帐号2 信息"
|
||||
"data": "多账号 请求 中的参数信息填写,请参考上面,以实际获取为准"
|
||||
}
|
||||
],
|
||||
"V2EX_COOKIE_LIST": [
|
||||
{
|
||||
"v2ex_cookie": "帐号1 cookie"
|
||||
"v2ex_cookie": "_ga=xxxxxx; __cfduid=xxxxxx; PB3_SESSION=xxxxxx; A2=xxxxxx; V2EXSETTINGS=xxxxxx; V2EX_REFERRER=xxxxxx; V2EX_LANG=xxxxxx; _gid=xxxxxx; V2EX_TAB=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"v2ex_cookie": "帐号2 cookie"
|
||||
"v2ex_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"WWW2NZZ_COOKIE_LIST": [
|
||||
{
|
||||
"www2nzz_cookie": "帐号1 cookie"
|
||||
"www2nzz_cookie": "YPx9_2132_saltkey=xxxxxx; YPx9_2132_lastvisit=xxxxxx; YPx9_2132_sendmail=xxxxxx; YPx9_2132_con_request_uri=xxxxxx; YPx9_2132_sid=xxxxxx; YPx9_2132_client_created=xxxxxx; YPx9_2132_client_token=xxxxxx; YPx9_2132_ulastactivity=xxxxxx; YPx9_2132_auth=xxxxxx; YPx9_2132_connect_login=xxxxxx; YPx9_2132_connect_is_bind=xxxxxx; YPx9_2132_connect_uin=xxxxxx; YPx9_2132_stats_qc_login=xxxxxx; YPx9_2132_checkpm=xxxxxx; YPx9_2132_noticeTitle=xxxxxx; YPx9_2132_nofavfid=xxxxxx; YPx9_2132_lastact=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"www2nzz_cookie": "帐号2 cookie"
|
||||
"www2nzz_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"SMZDM_COOKIE_LIST": [
|
||||
{
|
||||
"smzdm_cookie": "账号1 cookie"
|
||||
"smzdm_cookie": "__jsluid_s=xxxxxx; __ckguid=xxxxxx; device_id=xxxxxx; homepage_sug=xxxxxx; r_sort_type=xxxxxx; _zdmA.vid=xxxxxx; sajssdk_2015_cross_new_user=xxxxxx; sensorsdata2015jssdkcross=xxxxxx; footer_floating_layer=xxxxxx; ad_date=xxxxxx; ad_json_feed=xxxxxx; zdm_qd=xxxxxx; sess=xxxxxx; user=xxxxxx; _zdmA.uid=xxxxxx; smzdm_id=xxxxxx; userId=xxxxxx; bannerCounter=xxxxxx; _zdmA.time=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"smzdm_cookie": "账号2 cookie"
|
||||
"smzdm_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"MIMOTION_ACCOUNT_LIST": [
|
||||
{
|
||||
"mimotion_phone": "账号1",
|
||||
"mimotion_password": "账号1 密码",
|
||||
"mimotion_min_step": "账号1 最小步数",
|
||||
"mimotion_max_step": "账号1 最大步数"
|
||||
"mimotion_phone": "18888xxxxxx",
|
||||
"mimotion_password": "Sitoi",
|
||||
"mimotion_min_step": "10000",
|
||||
"mimotion_max_step": "20000"
|
||||
},
|
||||
{
|
||||
"mimotion_phone": "账号2",
|
||||
"mimotion_password": "账号2 密码",
|
||||
"mimotion_min_step": "账号2 最小步数",
|
||||
"mimotion_max_step": "账号2 最大步数"
|
||||
"mimotion_phone": "多账号 手机号填写,请参考上面",
|
||||
"mimotion_password": "多账号 密码填写,请参考上面",
|
||||
"mimotion_min_step": "多账号 最小步数填写,请参考上面",
|
||||
"mimotion_max_step": "多账号 最大步数填写,请参考上面"
|
||||
}
|
||||
],
|
||||
"ACFUN_ACCOUNT_LIST": [
|
||||
{
|
||||
"acfun_phone": "帐号1 手机号",
|
||||
"acfun_password": "帐号1 密码"
|
||||
"acfun_phone": "18888xxxxxx",
|
||||
"acfun_password": "Sitoi"
|
||||
},
|
||||
{
|
||||
"acfun_phone": "帐号2 手机号",
|
||||
"acfun_password": "帐号2 密码"
|
||||
"acfun_phone": "多账号 手机号填写,请参考上面",
|
||||
"acfun_password": "多账号 密码填写,请参考上面"
|
||||
}
|
||||
],
|
||||
"CLOUD189_ACCOUNT_LIST": [
|
||||
{
|
||||
"cloud189_phone": "帐号1 手机号",
|
||||
"cloud189_password": "帐号1 密码"
|
||||
"cloud189_phone": "18888xxxxxx",
|
||||
"cloud189_password": "Sitoi"
|
||||
},
|
||||
{
|
||||
"cloud189_phone": "帐号2 手机号",
|
||||
"cloud189_password": "帐号2 密码"
|
||||
"cloud189_phone": "多账号 手机号填写,请参考上面",
|
||||
"cloud189_password": "多账号 密码填写,请参考上面"
|
||||
}
|
||||
],
|
||||
"WPS_COOKIE_LIST": [
|
||||
{
|
||||
"wps_cookie": "帐号1 cookie"
|
||||
"wps_cookie": "csrf=xxxxxx; wpsqing_autoLoginV1=xxxxxx; wps_sid=xxxxxx; uzone=xxxxxx; ulocale=xxxxxx; XSRF-TOKEN=xxxxxx; _session=xxxxxx; logined=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"wps_cookie": "帐号2 cookie"
|
||||
"wps_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"POJIE_COOKIE_LIST": [
|
||||
{
|
||||
"pojie_cookie": "帐号1 cookie"
|
||||
"pojie_cookie": "htVD_2132_client_token=xxxxxx; htVD_2132_connect_is_bind=xxxxxx; htVD_2132_connect_uin=xxxxxx; htVD_2132_nofavfid=xxxxxx; htVD_2132_smile=xxxxxx; Hm_lvt_46d556462595ed05e05f009cdafff31a=xxxxxx; htVD_2132_saltkey=xxxxxx; htVD_2132_lastvisit=xxxxxx; htVD_2132_client_created=xxxxxx; htVD_2132_auth=xxxxxx; htVD_2132_connect_login=xxxxxx; htVD_2132_home_diymode=xxxxxx; htVD_2132_visitedfid=xxxxxx; htVD_2132_viewid=xxxxxx; KF4=xxxxxx; htVD_2132_st_p=xxxxxx; htVD_2132_lastcheckfeed=xxxxxx; htVD_2132_sid=xxxxxx; htVD_2132_ulastactivity=xxxxxx; htVD_2132_noticeTitle=xxxxxx;"
|
||||
},
|
||||
{
|
||||
"pojie_cookie": "帐号2 cookie"
|
||||
"pojie_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"MGTV_PARAMS_LIST": [
|
||||
{
|
||||
"mgtv_params": "账号1 params"
|
||||
"mgtv_params": "uuid=xxxxxx&uid=xxxxxx&ticket=xxxxxx&token=xxxxxx&device=iPhone&did=xxxxxx&deviceId=xxxxxx&appVersion=6.8.2&osType=ios&platform=iphone&abroad=0&aid=xxxxxx&nonce=xxxxxx×tamp=xxxxxx&appid=xxxxxx&type=1&sign=xxxxxx&callback=xxxxxx"
|
||||
},
|
||||
{
|
||||
"mgtv_params": "账号2 params"
|
||||
"mgtv_params": "多账号 请求参数填写,请参考上面"
|
||||
}
|
||||
],
|
||||
"PICACOMIC_ACCOUNT_LIST": [
|
||||
{
|
||||
"picacomic_email": "账号1 账号",
|
||||
"picacomic_password": "账号1 密码"
|
||||
"picacomic_email": "Sitoi",
|
||||
"picacomic_password": "Sitoi"
|
||||
},
|
||||
{
|
||||
"picacomic_email": "账号2 账号",
|
||||
"picacomic_password": "账号2 密码"
|
||||
"picacomic_email": "多账号 账号填写,请参考上面",
|
||||
"picacomic_password": "多账号 密码填写,请参考上面"
|
||||
}
|
||||
],
|
||||
"MEIZU_COOKIE_LIST": [
|
||||
{
|
||||
"meizu_cookie": "账号1 cookie",
|
||||
"draw_count": "账号1 抽奖次数"
|
||||
"meizu_cookie": "aliyungf_tc=xxxxxx; logined_uid=xxxxxx; acw_tc=xxxxxx; LT=xxxxxx; MZBBS_2132_saltkey=xxxxxx; MZBBS_2132_lastvisit=xxxxxx; MZBBSUC_2132_auth=xxxxxx; MZBBSUC_2132_loginmember=xxxxxx; MZBBSUC_2132_ticket=xxxxxx; MZBBS_2132_sid=xxxxxx; MZBBS_2132_ulastactivity=xxxxxx; MZBBS_2132_auth=xxxxxx; MZBBS_2132_loginmember=xxxxxx; MZBBS_2132_lastcheckfeed=xxxxxx; MZBBS_2132_checkfollow=xxxxxx; MZBBS_2132_lastact=xxxxxx;",
|
||||
"draw_count": "1"
|
||||
},
|
||||
{
|
||||
"meizu_cookie": "账号2 cookie",
|
||||
"draw_count": "账号2 抽奖次数"
|
||||
"meizu_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
|
||||
"draw_count": "多账号 抽奖次数设置"
|
||||
}
|
||||
],
|
||||
"CAIYUN_COOKIE_LIST": [
|
||||
{
|
||||
"caiyun_cookie": "WAPJSESSIONID=xxxxxx; bc_mo=xxxxxx; bc_ps=xxxxxx; bc_to=xxxxxx; JSESSIONID=xxxxxx; sensorsdata2015jssdkcross=xxxxxx; sajssdk_2015_cross_new_user=1",
|
||||
"caiyun_referer": "https://caiyun.feixin.10086.cn:7071/portal/newsignin/index.jsp",
|
||||
"caiyun_draw": false
|
||||
},
|
||||
{
|
||||
"caiyun_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
|
||||
"caiyun_referer": "多账号 请求重定向地址,填写,请参考上面,以实际获取为准",
|
||||
"caiyun_draw": "多账号 是否开启抽奖,填写 true or false 去掉双引号"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
26
index.py
26
index.py
@ -36,11 +36,14 @@ def main_handler(event, context):
|
||||
if check_info.get("xmly_cookie_list"):
|
||||
check_name, check_func = checkin_map.get("XMLY_COOKIE_LIST")
|
||||
for check_item in check_info.get("xmly_cookie_list", []):
|
||||
try:
|
||||
msg = check_func(check_item).main()
|
||||
content_list.append(f"【{check_name}】\n{msg}")
|
||||
except Exception as e:
|
||||
print(check_name, e)
|
||||
if "xxxxxx" not in str(check_item) and "多账号" not in str(check_item):
|
||||
try:
|
||||
msg = check_func(check_item).main()
|
||||
content_list.append(f"【{check_name}】\n{msg}")
|
||||
except Exception as e:
|
||||
print(check_name, e)
|
||||
else:
|
||||
print(f"检测【{check_name}】脚本到配置文件包含模板配置,进行跳过")
|
||||
else:
|
||||
for one_check, check_tuple in checkin_map.items():
|
||||
check_name, check_func = check_tuple
|
||||
@ -48,11 +51,14 @@ def main_handler(event, context):
|
||||
if check_info.get(one_check.lower()):
|
||||
print(f"----------已检测到正确的配置,并开始执行 {one_check} 签到----------")
|
||||
for check_item in check_info.get(one_check.lower(), []):
|
||||
try:
|
||||
msg = check_func(check_item).main()
|
||||
content_list.append(f"【{check_name}】\n{msg}")
|
||||
except Exception as e:
|
||||
print(check_name, e)
|
||||
if "xxxxxx" not in str(check_item) and "多账号" not in str(check_item):
|
||||
try:
|
||||
msg = check_func(check_item).main()
|
||||
content_list.append(f"【{check_name}】\n{msg}")
|
||||
except Exception as e:
|
||||
print(check_name, e)
|
||||
else:
|
||||
print(f"检测【{check_name}】脚本到配置文件包含模板配置,进行跳过")
|
||||
else:
|
||||
print(f"----------未检测到正确的配置,并跳过执行 {one_check} 签到----------")
|
||||
if motto:
|
||||
|
@ -200,7 +200,7 @@ class LianTongCheckIn:
|
||||
box.encoding = "utf-8"
|
||||
watch_ad = session.post(url="https://m.client.10010.com/game_box", data=data2)
|
||||
watch_ad.encoding = "utf-8"
|
||||
draw_reward = session.post(url="https://m.client.10010.com/producGameTaskCenter", data=data3)
|
||||
draw_reward = session.post(url="https://m.client.10010.com/producGameTaskCenter", params=data3)
|
||||
draw_reward.encoding = "utf-8"
|
||||
res = draw_reward.json()
|
||||
if res["code"] == "0000":
|
||||
@ -240,6 +240,28 @@ class LianTongCheckIn:
|
||||
return "4G流量包: " + str(e)
|
||||
return "4G流量包: 获得 " + str(liuliang) + "M"
|
||||
|
||||
@staticmethod
|
||||
def dayoneg(session):
|
||||
try:
|
||||
# 观看视频任务
|
||||
session.post(url='https://act.10010.com/SigninApp/doTask/finishVideo')
|
||||
# 请求任务列表
|
||||
get_task_info = session.post(url='https://act.10010.com/SigninApp/doTask/getTaskInfo')
|
||||
get_task_info.encoding = 'utf-8'
|
||||
get_prize = session.post(url='https://act.10010.com/SigninApp/doTask/getPrize')
|
||||
get_prize.encoding = 'utf-8'
|
||||
session.post(url='https://act.10010.com/SigninApp/doTask/getTaskInfo')
|
||||
res1 = get_task_info.json()
|
||||
res2 = get_prize.json()
|
||||
if res1['data']['taskInfo']['status'] == '1':
|
||||
msg = '1G流量日包: ' + res2['data']['statusDesc']
|
||||
else:
|
||||
msg = '1G流量日包: ' + res1['data']['taskInfo']['btn']
|
||||
time.sleep(1)
|
||||
except Exception as e:
|
||||
msg = '1G流量日包: 错误,' + str(e)
|
||||
return msg
|
||||
|
||||
@staticmethod
|
||||
def user_info(session):
|
||||
resp = session.get(url="https://m.client.10010.com/mobileService/home/queryUserInfoSeven.htm?showType=3")
|
||||
@ -252,6 +274,7 @@ class LianTongCheckIn:
|
||||
session = requests.session()
|
||||
liantong_data = self.check_item.get("data")
|
||||
sign_msg = self.daysign(session=session, liantong_data=liantong_data)
|
||||
dayoneg_msg = self.dayoneg(session=session)
|
||||
choujiang_msg = self.choujiang(session=session)
|
||||
pointslottery_msg = self.pointslottery_task(session=session)
|
||||
gamecentersign_msg = self.gamecentersign_task(session=session)
|
||||
@ -264,7 +287,7 @@ class LianTongCheckIn:
|
||||
msg = (
|
||||
f"{sign_msg}\n{user_info_msg}\n{choujiang_msg}\n{pointslottery_msg}\n"
|
||||
f"{gamecentersign_msg}\n{day100integral_msg}\n{dongaopoints_msg}\n{wotree_msg}\n"
|
||||
f"{openbox_msg}\n{collectflow_msg}"
|
||||
f"{openbox_msg}\n{collectflow_msg}\n{dayoneg_msg}"
|
||||
)
|
||||
return msg
|
||||
|
||||
|
@ -15,8 +15,7 @@ markdown_extensions:
|
||||
nav:
|
||||
- 主页: index.md
|
||||
- 配置: settings.md
|
||||
- 教程:
|
||||
- local.md
|
||||
- docker.md
|
||||
- github-actions.md
|
||||
- tencent-scf.md
|
||||
- 本地使用教程: local.md
|
||||
- Docker 使用教程: docker.md
|
||||
- 腾讯云函数使用教程: tencent-scf.md
|
||||
- GitHub Actions 使用教程: github-actions.md
|
||||
|
@ -38,7 +38,11 @@ class PojieCheckIn:
|
||||
"Cookie": pojie_cookie,
|
||||
"ContentType": "text/html;charset=gbk",
|
||||
}
|
||||
uid = re.findall(r"htVD_2132_lastcheckfeed=(.*?);", pojie_cookie)[0].split("%7C")[0]
|
||||
try:
|
||||
uid = re.findall(r"htVD_2132_lastcheckfeed=(.*?);", pojie_cookie)[0].split("%7C")[0]
|
||||
except Exception as e:
|
||||
print(e)
|
||||
uid = "未获取到用户 uid"
|
||||
sign_msg = self.sign(headers=headers)
|
||||
msg = f"帐号信息: {uid}\n签到状态: {sign_msg}"
|
||||
return msg
|
||||
|
@ -5,6 +5,7 @@ import os
|
||||
from acfun import AcFunCheckIn
|
||||
from baidu_url_submit import BaiduUrlSubmit
|
||||
from bilibili import BiliBiliCheckIn
|
||||
from caiyun import CaiYunCheckIn
|
||||
from cloud189 import Cloud189CheckIn
|
||||
from fmapp import FMAPPCheckIn
|
||||
from iqiyi import IQIYICheckIn
|
||||
@ -50,6 +51,7 @@ checkin_map = {
|
||||
"POJIE_COOKIE_LIST": ("吾爱破解", PojieCheckIn),
|
||||
"MEIZU_COOKIE_LIST": ("MEIZU社区", MeizuCheckIn),
|
||||
"PICACOMIC_ACCOUNT_LIST": ("哔咔漫画", PicacomicCheckIn),
|
||||
"CAIYUN_COOKIE_LIST": ("和彩云", CaiYunCheckIn),
|
||||
"CITY_NAME_LIST": ("天气预报", Weather),
|
||||
"XMLY_COOKIE_LIST": ("喜马拉雅极速版", XMLYCheckIn),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user