2023-06-25 13:05:30 +00:00
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
|
|
|
class SearchChannelType(Enum):
|
|
|
|
"""search channel type"""
|
|
|
|
GENERAL = "aweme_general" # 综合
|
|
|
|
VIDEO = "aweme_video_web" # 视频
|
|
|
|
USER = "aweme_user_web" # 用户
|
|
|
|
LIVE = "aweme_live" # 直播
|
|
|
|
|
|
|
|
|
|
|
|
class SearchSortType(Enum):
|
|
|
|
"""search sort type"""
|
|
|
|
GENERAL = 0 # 综合排序
|
2024-06-14 06:13:39 +00:00
|
|
|
MOST_LIKE = 1 # 最多点赞
|
|
|
|
LATEST = 2 # 最新发布
|
2023-06-25 13:05:30 +00:00
|
|
|
|
|
|
|
class PublishTimeType(Enum):
|
|
|
|
"""publish time type"""
|
|
|
|
UNLIMITED = 0 # 不限
|
|
|
|
ONE_DAY = 1 # 一天内
|
2024-06-13 03:46:25 +00:00
|
|
|
ONE_WEEK = 7 # 一周内
|
|
|
|
SIX_MONTH = 180 # 半年内
|