路飞

Results 1 issues of 路飞

源代码 ![Quicker_20221202_080003](https://user-images.githubusercontent.com/84212768/205184394-df55d987-5447-40b2-a25d-87df2b8d5828.png) 是将将返回的json里面含不含有error来判断cookies是否有效,但是最近连续三天两天,经常在12点后出异常 抓日志异常如下 ![Quicker_20221202_075824](https://user-images.githubusercontent.com/84212768/205184624-74a703e5-e083-4ee3-a2af-c6d6b3067f5a.png) 是将非json作为json处理,但是我们不需要对返回做修改或者是什么,所以使用result = str(res.text),将他不管返回的text/html还是json都转换成字符串,然后 if "errors" in result or "Errors" in result: logger.info(str(res.text)) print("Session expired!") 这样子会不会好一些?减少出现异常的可能性.