feat(36kr): add 36氪 CLI adapter#461
Merged
jackwener merged 3 commits intojackwener:mainfrom Mar 26, 2026
Merged
Conversation
- news: latest articles via public RSS feed (no browser needed), includes title/summary/date/url - hot: trending articles via INTERCEPT strategy, supports --type renqi/zonghe/shoucang/catalog - search: keyword search via INTERCEPT + DOM scraping - article: fetch article detail (title/author/date/body) by ID or URL Also adds vitest adapter project entry for 36kr tests. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new CLI adapter for 36kr (36氪), China's leading tech/startup news platform.
Commands
36kr news36kr hot--type renqi/zonghe/shoucang/catalog36kr search <query>36kr article <id>Notes
newsuses the public RSS feed (https://www.36kr.com/feed) — works instantly without a browserhot,search,articleuse the INTERCEPT strategy with DOM scraping since 36kr's REST APIs are either deprecated or return stale cached datahot --typesupports all three 36kr ranking lists: 人气榜 (renqi), 综合榜 (zonghe), 收藏榜 (shoucang)news.test.tsTest plan
36kr news --limit 5— returns real-time articles from RSS36kr hot --limit 10— returns current trending articles36kr hot --type renqi --limit 5— returns 人气榜36kr hot --type zonghe --limit 5— returns 综合榜36kr search "DeepSeek" --limit 5— returns relevant search results36kr article <id>— returns title, author, date, bodyvitest run --project adapter src/clis/36kr/— 3/3 tests pass🤖 Generated with Claude Code