from enum import Enum class AutomationJobCronInfo(Enum): account_top = ("账号自动溯源(每日Top)", "account", "top", 9) account_extend_top = ("账号自动拓展(每日Top)", "account_extend", "top", 9) channel_topic_top = ("话题自动溯源(每日Top)", "channel_topic", "top", 9) channel_topic_extend_top = ("话题自动拓展(每日Top)", "channel_topic_extend", "top", 9) channel_image_search_video_top = ("识图直接供给(每日Top)", "channel_image_search_video", "top", 9) channel_image_search_topic_top = ("识图找话题(每日Top)", "channel_image_search_topic", "top", 9) channel_image_search_topic_extend_top = ("识图找话题拓展(每日Top)", "channel_image_search_topic_extend", "top", 9) channel_image_search_video_all_cate_top = ("识图直接供给_全品类(每日Top)", "channel_image_search_video_all_cate", "top", 9) video_decode_accurate_text_top = ("视频解构精准文本(每日Top)", "video_decode_accurate_text", "top", 9) keywords_top = ("视频解构关键词(每日Top)", "keywords", "top", 9) account_tencent_huxuan = ("腾讯互选平台账号供给(其他)", "account_tencent_huxuan", "other", 9) def __init__(self, task_name, crawler_mode, video_source, task_start_hour): self.task_name = task_name self.crawler_mode = crawler_mode self.video_source = video_source self.task_start_hour = task_start_hour