redfox-python-sdk 0.7.3__tar.gz → 0.7.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/PKG-INFO +1 -1
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/__init__.py +1 -1
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/xiaohongshu.py +9 -2
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox_python_sdk.egg-info/PKG-INFO +1 -1
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/setup.py +1 -1
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/README.md +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/client.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/__init__.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/ai_search.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/autohome.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/baijiahao.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/bilibili.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/dongchedi.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/doubao_image.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/doubao_video.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/douyin.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/gpt_image.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/hotspot.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/instagram.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/kuaishou.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/tiktok.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/tools.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/toutiao.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/twitter.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/wechat.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/wechat_channels.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/weibo.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/yiche.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/youtube.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/endpoints/zhihu.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox/exceptions.py +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox_python_sdk.egg-info/SOURCES.txt +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox_python_sdk.egg-info/dependency_links.txt +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox_python_sdk.egg-info/requires.txt +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox_python_sdk.egg-info/top_level.txt +0 -0
- {redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/setup.cfg +0 -0
|
@@ -205,8 +205,15 @@ class XiaohongshuAPI:
|
|
|
205
205
|
:param task_id: 任务 ID(由 comment_submit 返回)
|
|
206
206
|
:return: 评论结果字典
|
|
207
207
|
"""
|
|
208
|
-
|
|
209
|
-
|
|
208
|
+
# /story/api/xhs/commentResult 是全平台唯一不从 JSON body 读 taskId 的 result
|
|
209
|
+
# 端点(只认 query/form),故同时用 query 参数与 body 传 taskId:query 保证当前
|
|
210
|
+
# 可用,body 兼容服务端日后改回 JSON body 的一致契约。
|
|
211
|
+
return self._client.request(
|
|
212
|
+
"POST",
|
|
213
|
+
"/story/api/xhs/commentResult",
|
|
214
|
+
params={"taskId": task_id},
|
|
215
|
+
data={"taskId": task_id},
|
|
216
|
+
source=source,
|
|
210
217
|
)
|
|
211
218
|
|
|
212
219
|
# ─── 榜单 ───────────────────────────────────────────
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name="redfox-python-sdk",
|
|
5
|
-
version="0.7.
|
|
5
|
+
version="0.7.4",
|
|
6
6
|
description="RedFox 红狐数据平台 Python SDK — 同步+异步双客户端,自动重试,零配置",
|
|
7
7
|
long_description=open("README.md", encoding="utf-8").read(),
|
|
8
8
|
long_description_content_type="text/markdown",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox_python_sdk.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
{redfox_python_sdk-0.7.3 → redfox_python_sdk-0.7.4}/redfox_python_sdk.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|