|
@@ -153,6 +153,7 @@ class DouyinrecommendScheduling:
|
|
|
video_dict["crawler_rule"] = json.dumps(rule_dict)
|
|
|
video_dict["user_id"] = our_uid
|
|
|
video_dict["publish_time"] = video_dict["publish_time_str"]
|
|
|
+ video_dict["strategy_type"] = log_type
|
|
|
mq.send_msg(video_dict)
|
|
|
except Exception as e:
|
|
|
Common.logger(log_type, crawler).error(f"抓取单条视频异常:{e}\n")
|