|
@@ -684,7 +684,17 @@ class XiGuaAuthor:
|
|
|
# max_count = int(self.rule_dict.get("videos_cnt", {}).get("min", 300))
|
|
|
for user_dict in self.user_list:
|
|
|
# if self.download_count <= max_count:
|
|
|
- self.get_video_list(user_dict)
|
|
|
+ try:
|
|
|
+ self.get_video_list(user_dict)
|
|
|
+ except Exception as e:
|
|
|
+ AliyunLogger.logging(
|
|
|
+ code="3001",
|
|
|
+ account=user_dict["uid"],
|
|
|
+ platform=self.platform,
|
|
|
+ mode=self.mode,
|
|
|
+ env=self.env,
|
|
|
+ message="扫描账号时出现bug, 报错是 {}".format(e)
|
|
|
+ )
|
|
|
# time.sleep(random.randint(1, 15))
|
|
|
# else:
|
|
|
# AliyunLogger.logging(
|