From 765c33245daff71c3a01cb60f89f0eaf2ec539de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=B4=9B?= Date: Sat, 24 Jul 2021 10:47:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=80=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bilibili.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bilibili.py b/bilibili.py index 294d7ed..22c2fc0 100644 --- a/bilibili.py +++ b/bilibili.py @@ -5,7 +5,7 @@ import os import requests from requests import utils from getENV import getENv - +from checksendNotify import send class BiliBiliCheckIn(object): # TODO 待测试,需要大会员账号测试领取福利 def __init__(self, check_item: dict): @@ -334,4 +334,7 @@ if __name__ == "__main__": with open("/ql/config/check.json", "r", encoding="utf-8") as f: datas = json.loads(f.read()) _check_item = datas.get("BILIBILI_COOKIE_LIST", [])[0] - BiliBiliCheckIn(check_item=_check_item).main() + res=BiliBiliCheckIn(check_item=_check_item).main() + print(res) + send('哔哩哔哩',res) +