__init__.py 718 B

1234567891011121314151617181920
  1. """需求域 —— 从 ODPS 提取白名单账号匹配视频 → 解构 → 搜索词入队
  2. 核心流程:
  3. 1. FetchDemands — 白名单加载 → 匹配视频查询 → rov 去重 → 视频解构 → 搜索词展开
  4. 2. EnqueueDemands — 队列条目批量写入 MySQL demand_search_queue
  5. 3. DemandQueueMapper — 队列表纯 DB 读写(供 demand_search_article 域消费时复用)
  6. """
  7. from ._const import DemandConst
  8. from .fetch_demands import FetchDemands
  9. from .enqueue_demands import EnqueueDemands
  10. from ._mapper import DemandQueueMapper, VideoDeconstructMapper
  11. __all__ = [
  12. "DemandConst",
  13. "FetchDemands",
  14. "EnqueueDemands",
  15. "DemandQueueMapper",
  16. "VideoDeconstructMapper",
  17. ]