From 44081f6e45308706d446a8015ab0d3024835092e Mon Sep 17 00:00:00 2001 From: shitao <133397418@qq.com> Date: Thu, 7 Mar 2024 14:50:36 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20=E9=87=8D=E6=9E=84(iqiyi/m?= =?UTF-8?q?ain.py)=EF=BC=9A=E7=AE=80=E5=8C=96msg=E5=92=8Creturn=E7=9A=84?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=BB=93=E6=9E=84=EF=BC=8C=E6=8F=90=E9=AB=98?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=9A=84=E5=8F=AF=E8=AF=BB=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dailycheckin/iqiyi/main.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/dailycheckin/iqiyi/main.py b/dailycheckin/iqiyi/main.py index 2309503..e8b3009 100755 --- a/dailycheckin/iqiyi/main.py +++ b/dailycheckin/iqiyi/main.py @@ -106,9 +106,7 @@ class IQIYI(CheckIn): msg = [{"name": "签到天数", "value": _msg}] else: try: - msg = [ - {"name": "签到天数", "value": res["data"]["data"]["signDays"]} - ] + msg = [{"name": "签到天数", "value": res["data"]["data"]["signDays"]}] except Exception as e: msg = [{"name": "签到天数", "value": str(e)}] else: @@ -265,12 +263,7 @@ class IQIYI(CheckIn): url="https://act.vip.iqiyi.com/level-right/receive", data=data ).json() msg = res["msg"] - return [ - { - "name": "V7 免费升级星钻", - "value": msg, - } - ] + return [{"name": "V7 免费升级星钻", "value": msg}] def start_watch(self, p00001, p00003, dfp): total_time = self.get_watch_time(p00001=p00001)