automation_job.py 1.4 KB

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