From 88ab7fcce1f9380e6dcadb317f5a859393990697 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=B4=9B?= Date: Mon, 2 Aug 2021 09:40:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dcloud189?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 13 ++++++++++--- ck_cloud189.py | 3 ++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1924239..bf8f489 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,6 @@ [青龙](https://github.com/whyour/qinglong.git) -代码来自于[Sitoi/dailycheckin](https://github.com/Sitoi/dailycheckin.git) ## 特别声明 - 本仓库发布的脚本及其中涉及的任何解锁和解密分析脚本,仅用于测试和学习研究,禁止用于商业用途,不能保证其合法性,准确性,完整性和有效性,请根据情况自行判断。 @@ -55,11 +54,19 @@ cp /ql/repo/yuxian158_check/config.json /ql/config/check.json ### 1**添加了葫芦侠的签到配置** -​ 参数说明:`HLX.user`:用户名 `HLX.password`:密码的md532位小写加密[生成](https://md5jiami.bmcx.com/) +​ 参数说明:`HLX.user`:用户名 `HLX.password`:密码的MD532位小写加密[生成](https://md5jiami.bmcx.com/) ## 其他说明 1.本库直接使用了青龙的通知配置 -2请自行修改执行时间 +2.请自行修改执行时间 + +## 致谢 + +[@Wenmoux](https://github.com/Wenmoux/) + +[@MayoBlueSky](https://github.com/MayoBlueSky) + +[@Sitoi](https://github.com/Sitoi) diff --git a/ck_cloud189.py b/ck_cloud189.py index 945db4d..8401959 100644 --- a/ck_cloud189.py +++ b/ck_cloud189.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # 21 9 * * * +# 修改来自于 https://github.com/MayoBlueSky/My-Actions/blob/master/function/cloud189/checkin.py import base64 import json import os @@ -57,7 +58,7 @@ class Cloud189CheckIn: return result def login(self, session, username, password): - url = "https://cloud.189.cn/udb/udb_login.jsp?pageId=1&redirectURL=/main.action" + url = "https://cloud.189.cn/api/portal/loginUrl.action?redirectURL=https://cloud.189.cn/web/redirect.html" r = session.get(url=url) captchatoken = re.findall(r"captchaToken' value='(.+?)'", r.text)[0] lt = re.findall(r'lt = "(.+?)"', r.text)[0]