From 3b1c5618ffc1c93233d38e8448311a00eb61a0b5 Mon Sep 17 00:00:00 2001 From: limoruirui <1776862618@qq.com> Date: Sat, 9 Jul 2022 12:45:42 +0800 Subject: [PATCH] =?UTF-8?q?=E7=88=B1=E5=A5=87=E8=89=BA=E6=AF=8F=E6=97=A5?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1(=E4=BF=AE=E5=A4=8D=E4=BA=86=E6=8A=BD?= =?UTF-8?q?=E5=A5=96=E6=97=B6=E6=8A=BD=E5=88=B0=E4=BC=98=E6=83=A0=E5=88=B8?= =?UTF-8?q?=E4=BC=9A=E5=AF=BC=E8=87=B4=E8=84=9A=E6=9C=AC=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E4=B8=AD=E6=96=AD=E7=9A=84=E9=94=99=E8=AF=AF(=E5=BA=94?= =?UTF-8?q?=E8=AF=A5))?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iqiyi.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/iqiyi.py b/iqiyi.py index 674dcca..c8b4d8d 100644 --- a/iqiyi.py +++ b/iqiyi.py @@ -243,8 +243,8 @@ class Iqiyi: def dailyTask(self): taskcodeList = { - # 'b6e688905d4e7184': "浏览生活福利", - # 'a7f02e895ccbf416': "看看热b榜", + 'b6e688905d4e7184': "浏览生活福利", + 'a7f02e895ccbf416': "看看热b榜", '8ba31f70013989a8': "每日观影成就", "freeGetVip": "浏览会员兑换活动", "GetReward": "逛领福利频道"} @@ -303,6 +303,11 @@ class Iqiyi: if data.get("code") == 0: self.print_now(f'抽奖成功, 获得{data["awardName"]}') return data["daysurpluschance"] + elif data.get("code") == 3: + self.print_now(f"抽奖成功, 但是获得奖励信息错误, 大概率是没用的开通会员优惠券") + return data["daysurpluschance"] + else: + return 0 # elif not lottery and data.get("code") == 0: # return data["daysurpluschance"]