rhming / WoRead

沃阅读日常活动 使用腾讯云函数定时执行任务
5 stars 4 forks source link

大佬,本项目还能正常使用吗 #3

Open TimeBye opened 3 years ago

TimeBye commented 3 years ago
START RequestId:db26bd07-daeb-4f14-8eda-xxx

Starting new HTTPS connection (1): isolatemac.pythonanywhere.com:443

https://isolatemac.pythonanywhere.com:443 "GET /store/?account=176****2299WoRead HTTP/1.1" 200 74

ERROR RequestId:db26bd07-daeb-4f14-8eda-xxx Result:{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"Traceback (most recent call last):\n  File \"/var/user/index.py\", line 29, in main_handler\n    Template(WoRead)\n  File \"/var/user/index.py\", line 20, in Template\n    ts.append(Thread(target=cls(mobile).run))\n  File \"/var/user/flowdraw.py\", line 27, in __init__\n    self.CookieString = self.readCookie()\n  File \"/var/user/flowdraw.py\", line 87, in readCookie\n    return data[self.mobile + \"WoRead\"]\nTypeError: 'bool' object is not subscriptable","statusCode":430}

END RequestId:db26bd07-daeb-4f14-8eda-xxx

Report RequestId:db26bd07-daeb-4f14-8eda-xxx Duration:834ms Memory:128MB MemUsage:29.906250MB
rhming commented 3 years ago

还能使用,需要重新下载上传到云函数(从上面的日志看,你使用的可能是较早时期的,后来数据读取接口进行了更改)