Media_RPA/media_platform/bilibili/field.py

35 lines
505 B
Python
Raw Normal View History

2024-07-15 08:33:05 +00:00
# -*- coding: utf-8 -*-
# @Author : relakkes@gmail.com
# @Time : 2023/12/3 16:20
# @Desc :
from enum import Enum
class SearchOrderType(Enum):
# 综合排序
DEFAULT = ""
# 最多点击
MOST_CLICK = "click"
# 最新发布
LAST_PUBLISH = "pubdate"
# 最多弹幕
MOST_DANMU = "dm"
# 最多收藏
MOST_MARK = "stow"
class CommentOrderType(Enum):
# 仅按热度
DEFAULT = 0
# 按热度+按时间
MIXED = 1
# 按时间
TIME = 2