|
@@ -183,6 +183,8 @@ class ZfshRecommend:
|
|
|
video_dict["user_id"] = our_uid
|
|
|
video_dict["publish_time"] = video_dict["publish_time_str"]
|
|
|
mq.send_msg(video_dict)
|
|
|
+ cls.download_cnt += 1
|
|
|
+ time.sleep(5)
|
|
|
except Exception as e:
|
|
|
Common.logger(log_type, crawler).error(f"抓取单条视频异常:{e}\n")
|
|
|
Common.logging(log_type, crawler, env, f"抓取单条视频异常:{e}\n")
|