feat: base_config 增加抖音发布时间配置

fix: 抖音排序类型枚举值
fix: 抖音offset计算问题
This commit is contained in:
522109452
2024-06-14 14:13:39 +08:00
parent bea9193405
commit 6080c22a3d
3 changed files with 7 additions and 6 deletions

View File

@@ -3,8 +3,10 @@ PLATFORM = "xhs"
KEYWORDS = "python,golang"
LOGIN_TYPE = "qrcode" # qrcode or phone or cookie
COOKIES = ""
# 具体值参见media_platform.xxx.field下的枚举值展示只支持小红书
# 具体值参见media_platform.xxx.field下的枚举值暂时只支持小红书
SORT_TYPE = "popularity_descending"
# 具体值参见media_platform.xxx.field下的枚举值暂时只支持抖音
PUBLISH_TIME_TYPE = 0
CRAWLER_TYPE = "search" # 爬取类型search(关键词搜索) | detail(帖子详情)| creator(创作者主页数据)
# 是否开启 IP 代理