|
@@ -376,6 +376,7 @@ class XiaoniangaoHourScheduling:
|
|
video_info_dict["crawler_rule"] = json.dumps(rule_dict)
|
|
video_info_dict["crawler_rule"] = json.dumps(rule_dict)
|
|
video_info_dict["user_id"] = video_info_dict["uid"]
|
|
video_info_dict["user_id"] = video_info_dict["uid"]
|
|
video_info_dict["publish_time"] = video_info_dict["publish_time_str"]
|
|
video_info_dict["publish_time"] = video_info_dict["publish_time_str"]
|
|
|
|
+ video_info_dict["strategy_type"] = "hour"
|
|
|
|
|
|
mq = MQ(topic_name="topic_crawler_etl_" + env)
|
|
mq = MQ(topic_name="topic_crawler_etl_" + env)
|
|
mq.send_msg(video_info_dict)
|
|
mq.send_msg(video_info_dict)
|