抖音数据采集时的2个问题 #287
AragornJIA
started this conversation in
General
Replies: 1 comment
-
我也遇到这个问题,昨天提了代码已经合并了,你拉一下最新的试试 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
field.py 文件中 SearchSortType 映射关系有问题, 应为: MOST_LIKE: 1; LATEST: 2;
client.py 中 search_info_by_keyword 方法参数 sort_type, publish_time 不起作用; 采集结果并不是最新发布的;
浏览器中进行搜索(排序依据: 最新发布), 需要携带参数:
{"filter_selected": {"sort_type": "2", "publish_time": "1"}, "is_filter_search": "1"}
, 但是在 search_info_by_keyword 方法 params 中加上这2项, 报错DataFetchError
.浏览器中管局关键词搜索的 API 携带的 params
程序运行日志:
Beta Was this translation helpful? Give feedback.
All reactions