mirror of
https://github.com/Sitoi/dailycheckin.git
synced 2024-11-17 13:48:03 +08:00
🔥 移除【和彩云】&【王者营地】签到脚本
This commit is contained in:
parent
25dfd9bb3a
commit
1624e6387b
2
.github/workflows/deploy_tencent_scf.yml
vendored
2
.github/workflows/deploy_tencent_scf.yml
vendored
@ -80,12 +80,10 @@ 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}}
|
||||
ZHIYOO_COOKIE_LIST: ${{secrets.ZHIYOO_COOKIE_LIST}}
|
||||
WEIBO_COOKIE_LIST: ${{secrets.WEIBO_COOKIE_LIST}}
|
||||
DUOKAN_COOKIE_LIST: ${{secrets.DUOKAN_COOKIE_LIST}}
|
||||
CSDN_COOKIE_LIST: ${{secrets.CSDN_COOKIE_LIST}}
|
||||
WZYD_DATA_LIST: ${{secrets.WZYD_DATA_LIST}}
|
||||
|
||||
- name: "部署到腾讯云函数"
|
||||
run: sls deploy --debug
|
||||
|
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -70,9 +70,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}}
|
||||
ZHIYOO_COOKIE_LIST: ${{secrets.ZHIYOO_COOKIE_LIST}}
|
||||
WEIBO_COOKIE_LIST: ${{secrets.WEIBO_COOKIE_LIST}}
|
||||
DUOKAN_COOKIE_LIST: ${{secrets.DUOKAN_COOKIE_LIST}}
|
||||
CSDN_COOKIE_LIST: ${{secrets.CSDN_COOKIE_LIST}}
|
||||
WZYD_DATA_LIST: ${{secrets.WZYD_DATA_LIST}}
|
68
README.md
68
README.md
@ -36,40 +36,38 @@
|
||||
|
||||
## 签到列表
|
||||
|
||||
✔️: 正常运行 ❌: 脚本暂不可用 ❓: 可以执行(待更新) ⭕: 待测试 ❗: 看脸(有人可以有人不可以)
|
||||
🟢: 正常运行 ❌: 脚本暂不可用 ❓: 可以执行(待更新) ⭕: 待测试 ❗: 看脸(有人可以有人不可以)
|
||||
|
||||
|类别|名称|备注|运行周期|状态|
|
||||
|:---:|:---:|:---|:---:|:---:|
|
||||
|签到|[爱奇艺](https://www.iqiyi.com/)|签7天奖1天,14天奖2天,28天奖7天;日常任务;随机成长值|每天一次|✔️|
|
||||
|签到|[全民K歌](https://kg.qq.com/index-pc.html)|每日签到获取鲜花 每日大约 150 鲜花左右|每天一次|✔️|
|
||||
|签到|[腾讯视频](https://v.qq.com/)|每日两次腾讯视频签到获取成长值|每天一次|✔️|
|
||||
|签到|[有道云笔记](https://note.youdao.com/web/)|每日签到获取存储空间|每天一次|✔️|
|
||||
|签到|[网易云音乐](https://music.163.com/)|每日自动登录签到 + 刷歌 310 首|每天一次|✔️|
|
||||
|签到|[一加手机社区官方论坛](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/)|论坛金币|每天一次|✔️|
|
||||
|签到|[什么值得买](https://www.smzdm.com)|每日签到|每天一次|✔️|
|
||||
|签到|[AcFun](https://www.acfun.cn/)|每日签到香蕉|每天一次|✔️|
|
||||
|签到|[天翼云盘](https://cloud.189.cn/)|每日签到+2次抽奖获得空间奖励|每天一次|✔️|
|
||||
|签到|[WPS](https://www.wps.cn/)|每日签到|每天一次|✔️|
|
||||
|签到|[爱奇艺](https://www.iqiyi.com/)|签7天奖1天,14天奖2天,28天奖7天;日常任务;随机成长值|每天一次|🟢️|
|
||||
|签到|[全民K歌](https://kg.qq.com/index-pc.html)|每日签到获取鲜花 每日大约 150 鲜花左右|每天一次|🟢️|
|
||||
|签到|[腾讯视频](https://v.qq.com/)|每日两次腾讯视频签到获取成长值|每天一次|🟢️|
|
||||
|签到|[有道云笔记](https://note.youdao.com/web/)|每日签到获取存储空间|每天一次|🟢️|
|
||||
|签到|[网易云音乐](https://music.163.com/)|每日自动登录签到 + 刷歌 310 首|每天一次|🟢️|
|
||||
|签到|[一加手机社区官方论坛](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/)|论坛金币|每天一次|🟢️|
|
||||
|签到|[什么值得买](https://www.smzdm.com)|每日签到|每天一次|🟢️|
|
||||
|签到|[AcFun](https://www.acfun.cn/)|每日签到香蕉|每天一次|🟢️|
|
||||
|签到|[天翼云盘](https://cloud.189.cn/)|每日签到+2次抽奖获得空间奖励|每天一次|🟢️|
|
||||
|签到|[WPS](https://www.wps.cn/)|每日签到|每天一次|🟢️|
|
||||
|签到|[吾爱破解](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)|每日签到获取积分,积分可兑换物品|每天一次|❌|
|
||||
|签到|[智友邦](http://zhizhiyoo.net/)|每日签到获取金币|每天一次|✔️|
|
||||
|签到|[CSDN](https://www.csdn.net/)|每日签到、抽奖|每天一次|✔️|
|
||||
|签到|王者营地|每日签到|每天一次|⭕|
|
||||
|签到|微博|每日钱包签到、打卡|每天一次|✔️|
|
||||
|签到|多看阅读|获取书豆,用于购买书籍|每天一次|✔️|
|
||||
|签到|芒果 TV|签到获取体验会员|每天一次|✔️|
|
||||
|签到|联通营业厅|积分+流量奖励|每天一次|✔️|
|
||||
|签到|Fa米家 APP|连续签到7天总计获得6粒Fa米粒,每月15号23.59分清空Fa米粒。理论一个月最少获得24粒fa米粒。|每天一次|✔️|
|
||||
|其他|小米运动|每日小米运动刷步数|每天一次|✔️|
|
||||
|其他|[百度搜索资源平台](https://ziyuan.baidu.com/site/index#/)|提交网站页面供百度收录|每天一次|✔️|
|
||||
|其他|每日天气预报|获取指定的多个城市天气信息|每天一次|✔️|
|
||||
|其他|每日一句|从词霸中获取每日一句,带英文|每天一次|✔️|
|
||||
|签到|[MEIZU 社区](https://bbs.meizu.cn)|每日签到,可配置抽奖|每天一次|🟢️|
|
||||
|签到|[智友邦](http://zhizhiyoo.net/)|每日签到获取金币|每天一次|🟢️|
|
||||
|签到|[CSDN](https://www.csdn.net/)|每日签到、抽奖|每天一次|🟢️|
|
||||
|签到|微博|每日钱包签到、打卡|每天一次|🟢️|
|
||||
|签到|多看阅读|获取书豆,用于购买书籍|每天一次|🟢️|
|
||||
|签到|芒果 TV|签到获取体验会员|每天一次|🟢️|
|
||||
|签到|联通营业厅|积分+流量奖励|每天一次|🟢️|
|
||||
|签到|Fa米家 APP|连续签到7天总计获得6粒Fa米粒,每月15号23.59分清空Fa米粒。理论一个月最少获得24粒fa米粒。|每天一次|🟢️|
|
||||
|其他|小米运动|每日小米运动刷步数|每天一次|🟢️|
|
||||
|其他|[百度搜索资源平台](https://ziyuan.baidu.com/site/index#/)|提交网站页面供百度收录|每天一次|🟢️|
|
||||
|其他|每日天气预报|获取指定的多个城市天气信息|每天一次|🟢️|
|
||||
|其他|每日一句|从词霸中获取每日一句,带英文|每天一次|🟢️|
|
||||
|
||||
## 详细文档
|
||||
|
||||
@ -80,12 +78,6 @@
|
||||
|
||||
如有签到脚本需求,请到 [DISCUSSIONS](https://github.com/Sitoi/dailycheckin/discussions/77) 中提交
|
||||
|
||||
## 特别鸣谢
|
||||
|
||||
- [@Zero-S1](https://github.com/Zero-S1/xmly_speed) - 喜马拉雅极速版签到
|
||||
- [@Wenmoux](https://github.com/Wenmoux/checkbox) - 签到盒
|
||||
- [@chavyleung](https://github.com/chavyleung/scripts) - Chavy Scripts
|
||||
|
||||
## 交流群
|
||||
|
||||
<table>
|
||||
@ -95,6 +87,12 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
## 特别鸣谢
|
||||
|
||||
- [@Zero-S1](https://github.com/Zero-S1/xmly_speed) - 喜马拉雅极速版签到
|
||||
- [@Wenmoux](https://github.com/Wenmoux/checkbox) - 签到盒
|
||||
- [@chavyleung](https://github.com/chavyleung/scripts) - Chavy Scripts
|
||||
|
||||
## 其他
|
||||
|
||||
<details>
|
||||
|
@ -1,2 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from caiyun.caiyun import CaiYunCheckIn
|
@ -1,92 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import base64
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
from urllib import parse
|
||||
|
||||
import requests
|
||||
from requests import utils
|
||||
|
||||
import rsa
|
||||
|
||||
|
||||
class CaiYunCheckIn:
|
||||
def __init__(self, check_item):
|
||||
self.check_item = check_item
|
||||
self.public_key = """-----BEGIN PUBLIC KEY-----
|
||||
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCJ6kiv4v8ZcbDiMmyTKvGzxoPR3fTLj/uRuu6dUypy6zDW+EerThAYON172YigluzKslU1PD9+PzPPHLU/cv81q6KYdT+B5w29hlKkk5tNR0PcCAM/aRUQZu9abnl2aAFQow576BRvIS460urnju+Bu1ZtV+oFM+yQu04OSnmOpwIDAQAB
|
||||
-----END PUBLIC KEY-----"""
|
||||
|
||||
@staticmethod
|
||||
def get_encrypt_time(session):
|
||||
payload = parse.urlencode({"op": "currentTimeMillis"})
|
||||
resp = session.post(
|
||||
url="https://caiyun.feixin.10086.cn:7071/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 = json.dumps({"sourceId": 1003, "type": 1, "encryptTime": self.get_encrypt_time(session=session)})
|
||||
pubkey = rsa.PublicKey.load_pkcs1_openssl_pem(self.public_key)
|
||||
crypto = b""
|
||||
divide = int(len(payload) / 117)
|
||||
divide = divide if (divide > 0) else divide + 1
|
||||
line = divide if (len(payload) % 117 == 0) else divide + 1
|
||||
for i in range(line):
|
||||
crypto += rsa.encrypt(payload[i * 117: (i + 1) * 117].encode(), pubkey)
|
||||
crypto1 = base64.b64encode(crypto)
|
||||
return crypto1.decode()
|
||||
|
||||
@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):
|
||||
ticket = self.get_ticket(session=session)
|
||||
payload = parse.urlencode({"op": "receive", "data": ticket})
|
||||
resp = session.post(
|
||||
url="https://caiyun.feixin.10086.cn:7071/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
|
||||
|
||||
def main(self):
|
||||
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(
|
||||
{
|
||||
"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",
|
||||
"Content-Type": "application/x-www-form-urlencoded",
|
||||
"Origin": "https://caiyun.feixin.10086.cn:7071",
|
||||
"Referer": "https://caiyun.feixin.10086.cn:7071/portal/newsignin/index.jsp",
|
||||
}
|
||||
)
|
||||
username = self.user_info(session=session)
|
||||
sign_msg = self.sign(session=session)
|
||||
msg = f"用户信息: {username}\n{sign_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())
|
@ -5,7 +5,6 @@ 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 csdn import CSDNCheckIn
|
||||
from duokan import DuoKanCheckIn
|
||||
@ -28,7 +27,6 @@ from weather import Weather
|
||||
from weibo import WeiBoCheckIn
|
||||
from wps import WPSCheckIn
|
||||
from www2nzz import WWW2nzzCheckIn
|
||||
from wzyd import WZYDCheckIn
|
||||
from youdao import YouDaoCheckIn
|
||||
from zhiyoo import ZhiyooCheckIn
|
||||
|
||||
@ -55,12 +53,10 @@ checkin_map = {
|
||||
"POJIE_COOKIE_LIST": ("吾爱破解", PojieCheckIn),
|
||||
"MEIZU_COOKIE_LIST": ("MEIZU社区", MeizuCheckIn),
|
||||
"PICACOMIC_ACCOUNT_LIST": ("哔咔漫画", PicacomicCheckIn),
|
||||
"CAIYUN_COOKIE_LIST": ("和彩云", CaiYunCheckIn),
|
||||
"ZHIYOO_COOKIE_LIST": ("智友邦", ZhiyooCheckIn),
|
||||
"WEIBO_COOKIE_LIST": ("微博", WeiBoCheckIn),
|
||||
"DUOKAN_COOKIE_LIST": ("多看阅读", DuoKanCheckIn),
|
||||
"CSDN_COOKIE_LIST": ("CSDN", CSDNCheckIn),
|
||||
"WZYD_DATA_LIST": ("王者营地", WZYDCheckIn),
|
||||
"CITY_NAME_LIST": ("天气预报", Weather),
|
||||
}
|
||||
|
||||
|
@ -233,14 +233,6 @@
|
||||
"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_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"ZHIYOO_COOKIE_LIST": [
|
||||
{
|
||||
"zhiyoo_cookie": "ikdQ_9242_saltkey=xxxxxx; ikdQ_9242_lastvisit=xxxxxx; ikdQ_9242_onlineusernum=xxxxxx; ikdQ_9242_sendmail=1; ikdQ_9242_seccode=xxxxxx; ikdQ_9242_ulastactivity=xxxxxx; ikdQ_9242_auth=xxxxxx; ikdQ_9242_connect_is_bind=xxxxxx; ikdQ_9242_nofavfid=xxxxxx; ikdQ_9242_checkpm=xxxxxx; ikdQ_9242_noticeTitle=1; ikdQ_9242_sid=xxxxxx; ikdQ_9242_lip=xxxxxx; ikdQ_9242_lastact=xxxxxx"
|
||||
@ -272,13 +264,5 @@
|
||||
{
|
||||
"csdn_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"WZYD_DATA_LIST": [
|
||||
{
|
||||
"wzyd_data": "areaId=xxxxxx&roleId=xxxxxx&gameId=xxxxxx&serverId=xxxxxx&gameOpenid=xxxxxx&userId=xxxxxx&appVersion=xxxxxx&cClientVersionName=xxxxxx&platid=xxxxxx&source=xxxxxx&algorithm=xxxxxx&version=xxxxxx×tamp=xxxxxx&appid=xxxxxx&openid=xxxxxx&sig=xxxxxx&encode=2&msdkEncodeParam=xxxxxx&cSystem=xxxxxx&h5Get=xxxxxx&msdkToken=&appOpenid=xxxxxx"
|
||||
},
|
||||
{
|
||||
"wzyd_data": "多账号 data 填写,请参考上面,data 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
]
|
||||
}
|
@ -280,14 +280,6 @@ CONFIG_JSON
|
||||
"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_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"ZHIYOO_COOKIE_LIST": [
|
||||
{
|
||||
"zhiyoo_cookie": "ikdQ_9242_saltkey=xxxxxx; ikdQ_9242_lastvisit=xxxxxx; ikdQ_9242_onlineusernum=xxxxxx; ikdQ_9242_sendmail=1; ikdQ_9242_seccode=xxxxxx; ikdQ_9242_ulastactivity=xxxxxx; ikdQ_9242_auth=xxxxxx; ikdQ_9242_connect_is_bind=xxxxxx; ikdQ_9242_nofavfid=xxxxxx; ikdQ_9242_checkpm=xxxxxx; ikdQ_9242_noticeTitle=1; ikdQ_9242_sid=xxxxxx; ikdQ_9242_lip=xxxxxx; ikdQ_9242_lastact=xxxxxx"
|
||||
@ -319,14 +311,6 @@ CONFIG_JSON
|
||||
{
|
||||
"csdn_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"WZYD_DATA_LIST": [
|
||||
{
|
||||
"wzyd_data": "areaId=xxxxxx&roleId=xxxxxx&gameId=xxxxxx&serverId=xxxxxx&gameOpenid=xxxxxx&userId=xxxxxx&appVersion=xxxxxx&cClientVersionName=xxxxxx&platid=xxxxxx&source=xxxxxx&algorithm=xxxxxx&version=xxxxxx×tamp=xxxxxx&appid=xxxxxx&openid=xxxxxx&sig=xxxxxx&encode=2&msdkEncodeParam=xxxxxx&cSystem=xxxxxx&h5Get=xxxxxx&msdkToken=&appOpenid=xxxxxx"
|
||||
},
|
||||
{
|
||||
"wzyd_data": "多账号 data 填写,请参考上面,data 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
@ -10,44 +10,44 @@
|
||||
<a href="https://github.com/Sitoi/dailycheckin/stargazers"><img src="https://img.shields.io/github/stars/Sitoi/dailycheckin.svg?style=popout-square" alt="GitHub stars"></a>
|
||||
<a href="https://github.com/Sitoi/dailycheckin/network/members"><img src="https://img.shields.io/github/forks/Sitoi/dailycheckin.svg?style=popout-square" alt="GitHub forks"></a>
|
||||
<a href="https://github.com/Sitoi/dailycheckin/issues"><img src="https://img.shields.io/github/issues/Sitoi/dailycheckin.svg?style=popout-square" alt="GitHub issues"></a>
|
||||
<a href="https://hub.docker.com/repository/docker/sitoi/dailycheckin"><img src="https://img.shields.io/docker/pulls/sitoi/dailycheckin?style=popout-square" alt="Docker Pulls"></a>
|
||||
<a href="https://sitoi.github.io/dailycheckin"><img src="https://visitor-badge.glitch.me/badge?page_id=Sitoi-dailycheckin" alt="visitor"></a>
|
||||
</p>
|
||||
|
||||
## 签到列表
|
||||
|
||||
✔️: 正常运行 ❌: 脚本暂不可用 ❓: 可以执行(待更新) ⭕: 待测试 ❗: 看脸(有人可以有人不可以)
|
||||
🟢: 正常运行 ❌: 脚本暂不可用 ❓: 可以执行(待更新) ⭕: 待测试 ❗: 看脸(有人可以有人不可以)
|
||||
|
||||
|类别|名称|备注|运行周期|状态|
|
||||
|:---:|:---:|:---|:---:|:---:|
|
||||
|签到|[爱奇艺](https://www.iqiyi.com/)|签7天奖1天,14天奖2天,28天奖7天;日常任务;随机成长值|每天一次|✔️|
|
||||
|签到|[全民K歌](https://kg.qq.com/index-pc.html)|每日签到获取鲜花 每日大约 150 鲜花左右|每天一次|✔️|
|
||||
|签到|[腾讯视频](https://v.qq.com/)|每日两次腾讯视频签到获取成长值|每天一次|✔️|
|
||||
|签到|[有道云笔记](https://note.youdao.com/web/)|每日签到获取存储空间|每天一次|✔️|
|
||||
|签到|[网易云音乐](https://music.163.com/)|每日自动登录签到 + 刷歌 310 首|每天一次|✔️|
|
||||
|签到|[一加手机社区官方论坛](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/)|论坛金币|每天一次|✔️|
|
||||
|签到|[什么值得买](https://www.smzdm.com)|每日签到|每天一次|✔️|
|
||||
|签到|[AcFun](https://www.acfun.cn/)|每日签到香蕉|每天一次|✔️|
|
||||
|签到|[天翼云盘](https://cloud.189.cn/)|每日签到+2次抽奖获得空间奖励|每天一次|✔️|
|
||||
|签到|[WPS](https://www.wps.cn/)|每日签到|每天一次|✔️|
|
||||
|签到|[爱奇艺](https://www.iqiyi.com/)|签7天奖1天,14天奖2天,28天奖7天;日常任务;随机成长值|每天一次|🟢️|
|
||||
|签到|[全民K歌](https://kg.qq.com/index-pc.html)|每日签到获取鲜花 每日大约 150 鲜花左右|每天一次|🟢️|
|
||||
|签到|[腾讯视频](https://v.qq.com/)|每日两次腾讯视频签到获取成长值|每天一次|🟢️|
|
||||
|签到|[有道云笔记](https://note.youdao.com/web/)|每日签到获取存储空间|每天一次|🟢️|
|
||||
|签到|[网易云音乐](https://music.163.com/)|每日自动登录签到 + 刷歌 310 首|每天一次|🟢️|
|
||||
|签到|[一加手机社区官方论坛](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/)|论坛金币|每天一次|🟢️|
|
||||
|签到|[什么值得买](https://www.smzdm.com)|每日签到|每天一次|🟢️|
|
||||
|签到|[AcFun](https://www.acfun.cn/)|每日签到香蕉|每天一次|🟢️|
|
||||
|签到|[天翼云盘](https://cloud.189.cn/)|每日签到+2次抽奖获得空间奖励|每天一次|🟢️|
|
||||
|签到|[WPS](https://www.wps.cn/)|每日签到|每天一次|🟢️|
|
||||
|签到|[吾爱破解](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)|每日签到获取积分,积分可兑换物品|每天一次|❌|
|
||||
|签到|[智友邦](http://zhizhiyoo.net/)|每日签到获取金币|每天一次|✔️|
|
||||
|签到|[CSDN](https://www.csdn.net/)|每日签到、抽奖|每天一次|✔️|
|
||||
|签到|王者营地|每日签到|每天一次|⭕|
|
||||
|签到|微博|每日钱包签到、打卡|每天一次|✔️|
|
||||
|签到|多看阅读|获取书豆,用于购买书籍|每天一次|✔️|
|
||||
|签到|芒果 TV|签到获取体验会员|每天一次|✔️|
|
||||
|签到|联通营业厅|积分+流量奖励|每天一次|✔️|
|
||||
|签到|Fa米家 APP|连续签到7天总计获得6粒Fa米粒,每月15号23.59分清空Fa米粒。理论一个月最少获得24粒fa米粒。|每天一次|✔️|
|
||||
|其他|小米运动|每日小米运动刷步数|每天一次|✔️|
|
||||
|其他|[百度搜索资源平台](https://ziyuan.baidu.com/site/index#/)|提交网站页面供百度收录|每天一次|✔️|
|
||||
|其他|每日天气预报|获取指定的多个城市天气信息|每天一次|✔️|
|
||||
|其他|每日一句|从词霸中获取每日一句,带英文|每天一次|✔️|
|
||||
|签到|[MEIZU 社区](https://bbs.meizu.cn)|每日签到,可配置抽奖|每天一次|🟢️|
|
||||
|签到|[智友邦](http://zhizhiyoo.net/)|每日签到获取金币|每天一次|🟢️|
|
||||
|签到|[CSDN](https://www.csdn.net/)|每日签到、抽奖|每天一次|🟢️|
|
||||
|签到|微博|每日钱包签到、打卡|每天一次|🟢️|
|
||||
|签到|多看阅读|获取书豆,用于购买书籍|每天一次|🟢️|
|
||||
|签到|芒果 TV|签到获取体验会员|每天一次|🟢️|
|
||||
|签到|联通营业厅|积分+流量奖励|每天一次|🟢️|
|
||||
|签到|Fa米家 APP|连续签到7天总计获得6粒Fa米粒,每月15号23.59分清空Fa米粒。理论一个月最少获得24粒fa米粒。|每天一次|🟢️|
|
||||
|其他|小米运动|每日小米运动刷步数|每天一次|🟢️|
|
||||
|其他|[百度搜索资源平台](https://ziyuan.baidu.com/site/index#/)|提交网站页面供百度收录|每天一次|🟢️|
|
||||
|其他|每日天气预报|获取指定的多个城市天气信息|每天一次|🟢️|
|
||||
|其他|每日一句|从词霸中获取每日一句,带英文|每天一次|🟢️|
|
||||
|
||||
## 支持的通知列表
|
||||
|
||||
|
@ -55,7 +55,6 @@
|
||||
|_**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|
|
||||
|_**ZHIYOO_COOKIE_LIST**_.zhiyoo_cookie|[智友邦](http://zhizhiyoo.net/)|Web| 智友邦 WEB Cookie|
|
||||
|_**CSDN_COOKIE_LIST**_.csdn_cookie|[CSDN](https://www.csdn.net/)|Web| CSDN Cookie|
|
||||
|
||||
@ -75,7 +74,6 @@
|
||||
|_**PICACOMIC_ACCOUNT_LIST**_.picacomic_password|[哔咔漫画](https://www.picacomic.com)|APP| 哔咔漫画 密码|
|
||||
|_**WEIBO_COOKIE_LIST**_.weibo_show_url|微博|APP| 抓取开头为 `https://api.weibo.cn/2/users/show?` 的整个 url 填入即可|
|
||||
|_**DUOKAN_COOKIE_LIST**_.duokan_cookie|多看阅读|APP|多看阅读 cookie, 抓取开头为 `https://www.duokan.com` 下的 cookie 即可|
|
||||
|_**WZYD_DATA_LIST**_.wzyd_data|王者营地|APP|王者营地 请求体中的 data, 抓包 APP 中域名为 `https://ssl.kohsocial.qq.com` 请求内容的全部参数|
|
||||
|
||||
### 其他任务配置
|
||||
|
||||
@ -412,14 +410,6 @@
|
||||
"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_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"ZHIYOO_COOKIE_LIST": [
|
||||
{
|
||||
"zhiyoo_cookie": "ikdQ_9242_saltkey=xxxxxx; ikdQ_9242_lastvisit=xxxxxx; ikdQ_9242_onlineusernum=xxxxxx; ikdQ_9242_sendmail=1; ikdQ_9242_seccode=xxxxxx; ikdQ_9242_ulastactivity=xxxxxx; ikdQ_9242_auth=xxxxxx; ikdQ_9242_connect_is_bind=xxxxxx; ikdQ_9242_nofavfid=xxxxxx; ikdQ_9242_checkpm=xxxxxx; ikdQ_9242_noticeTitle=1; ikdQ_9242_sid=xxxxxx; ikdQ_9242_lip=xxxxxx; ikdQ_9242_lastact=xxxxxx"
|
||||
@ -451,14 +441,6 @@
|
||||
{
|
||||
"csdn_cookie": "多账号 cookie 填写,请参考上面,cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
],
|
||||
"WZYD_DATA_LIST": [
|
||||
{
|
||||
"wzyd_data": "areaId=xxxxxx&roleId=xxxxxx&gameId=xxxxxx&serverId=xxxxxx&gameOpenid=xxxxxx&userId=xxxxxx&appVersion=xxxxxx&cClientVersionName=xxxxxx&platid=xxxxxx&source=xxxxxx&algorithm=xxxxxx&version=xxxxxx×tamp=xxxxxx&appid=xxxxxx&openid=xxxxxx&sig=xxxxxx&encode=2&msdkEncodeParam=xxxxxx&cSystem=xxxxxx&h5Get=xxxxxx&msdkToken=&appOpenid=xxxxxx"
|
||||
},
|
||||
{
|
||||
"wzyd_data": "多账号 data 填写,请参考上面,data 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
11
mkdocs.yml
11
mkdocs.yml
@ -15,8 +15,9 @@ markdown_extensions:
|
||||
nav:
|
||||
- 主页: index.md
|
||||
- 配置: settings.md
|
||||
- 本地使用教程: local.md
|
||||
- Docker 使用教程: docker.md
|
||||
- 群辉 Docker 使用教程: synology.md
|
||||
- 腾讯云函数使用教程: tencent-scf.md
|
||||
- GitHub Actions 使用教程: github-actions.md
|
||||
- 教程:
|
||||
- 本地使用教程: local.md
|
||||
- Docker 使用教程: docker.md
|
||||
- 群辉 Docker 使用教程: synology.md
|
||||
- 腾讯云函数使用教程: tencent-scf.md
|
||||
- GitHub Actions 使用教程: github-actions.md
|
||||
|
@ -1,2 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from wzyd.wzyd import WZYDCheckIn
|
44
wzyd/wzyd.py
44
wzyd/wzyd.py
@ -1,44 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import json
|
||||
import os
|
||||
from urllib import parse
|
||||
|
||||
import requests
|
||||
|
||||
|
||||
class WZYDCheckIn:
|
||||
def __init__(self, check_item):
|
||||
self.check_item = check_item
|
||||
|
||||
@staticmethod
|
||||
def sign(data):
|
||||
response = requests.post(url="https://ssl.kohsocialapp.qq.com:10001/play/h5sign", data=data).json()
|
||||
try:
|
||||
if response["result"] == 0:
|
||||
msg = "签到成功"
|
||||
else:
|
||||
msg = response["returnMsg"]
|
||||
except:
|
||||
msg = "请求失败,请检查接口"
|
||||
return msg
|
||||
|
||||
def main(self):
|
||||
wzyd_data = self.check_item.get("wzyd_data")
|
||||
data = {k: v[0] for k, v in parse.parse_qs(wzyd_data).items()}
|
||||
try:
|
||||
user_id = data.get("userId", "")
|
||||
except Exception as e:
|
||||
print(f"获取用户信息失败: {e}")
|
||||
user_id = "未获取到用户信息"
|
||||
sign_msg = self.sign(data=data)
|
||||
msg = f"帐号信息: {user_id}\n签到信息: {sign_msg}"
|
||||
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("WZYD_DATA_LIST", [])[0]
|
||||
print(WZYDCheckIn(check_item=_check_item).main())
|
Loading…
Reference in New Issue
Block a user