fix(qzone): route feeds3_html_more through proxy + pin JSONP format
Adversarial review of the get_qzone_feeds slice (verdict NEEDS-FIXES): - Host: hit ic2.qzone.qq.com directly, bypassing the proxy gateway that slice-1/group-album use. The qzone.qq.com cookie jar only authenticates against the proxy origin, so the direct call would fail referer/origin. Now routed through h5.qzone.qq.com/proxy/domain/ic2.qzone.qq.com/... - Format: requested format=json but the test fed a JSONP body, so the requested format was never pinned. Aligned to slice-1's format=jsonp + callback=_preloadCallback; the test now asserts format. - Pagination: documented honestly that page_num is reliable only for the first page (deep paging needs a time cursor, deferred) — in the docstring and the action summary/param desc. - Clarified the key/feedskey fallback is the per-feed handle, not a cursor.
This commit is contained in:
4 files changed
+35
-14
No files matched your search
@@ -3003,7 +3003,7 @@ export const ACTIONS: CatalogAction[] = [
|
||||
{
|
||||
"name": "get_qzone_feeds",
|
||||
"aliases": [],
|
||||
"summary": "获取 QQ 空间好友动态(feed)",
|
||||
"summary": "获取 QQ 空间好友动态(feed);page_num 仅首页可靠,深翻页需时间游标(暂未实现)",
|
||||
"readOnly": true,
|
||||
"params": [
|
||||
{
|
||||
@@ -3014,7 +3014,7 @@ export const ACTIONS: CatalogAction[] = [
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"desc": "页码(1 起)",
|
||||
"desc": "页码(1 起;仅首页可靠)",
|
||||
"default": 1
|
||||
},
|
||||
{
|
||||
@@ -3037,7 +3037,7 @@ export const ACTIONS: CatalogAction[] = [
|
||||
"page_num": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"description": "页码(1 起)",
|
||||
"description": "页码(1 起;仅首页可靠)",
|
||||
"default": 1
|
||||
},
|
||||
"count": {
|
||||
|
||||
Reference in new issue
Block a user