|
@@ -148,7 +148,8 @@ class GGDCScheduling:
|
|
|
result = json.loads(decrypted_data)
|
|
|
break
|
|
|
except:
|
|
|
- print("编码不对,解密失败, 等待10秒钟")
|
|
|
+ Common.logger(self.log_type, self.crawler).info("编码不对,解密失败, 等待10秒钟后重试\n")
|
|
|
+ # print("编码不对,解密失败, 等待10秒钟")
|
|
|
time.sleep(10)
|
|
|
|
|
|
if "totalCount" not in result or response.status_code != 200:
|