Files
RSSHub/lib/routes/zhihu
Dzming Li 5469b02b2b fix(route/zhihu): auto-fetch __zse_ck when absent from ZHIHU_COOKIES (#21321)
When ZHIHU_COOKIES is configured without __zse_ck, automatically fetch
the value from Zhihu's public static JS (static.zhihu.com/zse-ck/v3.js).

__zse_ck is a site-wide token (not user-specific) that Zhihu embeds in
a static JS file and rotates periodically. When it expires, routes that
scrape HTML pages (e.g. /zhihu/posts/people/:id) return 403, while
API-only routes are unaffected.

Users can now omit __zse_ck from ZHIHU_COOKIES and it will be fetched
and cached automatically, eliminating manual cookie rotation for this
token. Existing configs that include __zse_ck are unchanged.
2026-03-07 10:27:43 +08:00
..
2025-11-27 02:55:46 +00:00
2025-11-27 02:55:46 +00:00
2025-11-27 11:04:48 +08:00
2025-11-27 02:55:46 +00:00
2026-02-25 16:54:10 +00:00
2025-11-27 02:55:46 +00:00
2025-11-27 02:55:46 +00:00
2025-11-27 02:55:46 +00:00
2025-11-27 11:04:48 +08:00
2025-11-27 02:55:46 +00:00
2025-11-27 02:55:46 +00:00
2025-11-27 02:55:46 +00:00
2025-11-27 02:55:46 +00:00