Skip to content

fix(reddit,bilibili): switch Reddit to rdt-cli, add bili-cli for Bilibili#235

Merged
Panniantong merged 1 commit intomainfrom
fix/reddit-bilibili-cli-upgrade
Mar 31, 2026
Merged

fix(reddit,bilibili): switch Reddit to rdt-cli, add bili-cli for Bilibili#235
Panniantong merged 1 commit intomainfrom
fix/reddit-bilibili-cli-upgrade

Conversation

@Panniantong
Copy link
Copy Markdown
Owner

Summary

Reddit: Exa → rdt-cli

  • Exa crawling_exa had chronic CRAWL_LIVECRAWL_TIMEOUT on Reddit (反爬太强)
  • rdt-cli (public-clis, 304 stars) works without login: search + read full posts + comments
  • Tested: rdt search "Claude AI" returns full post text, rdt read POST_ID returns full comments

Bilibili: add bili-cli as optional

  • bili-cli (public-clis, 590 stars) adds hot/rank/search/feed capabilities
  • yt-dlp remains for video metadata + subtitles
  • check() now detects bili-cli and recommends install if missing

Test plan

  • pytest tests/ -v — 75 passed
  • rdt search returns real Reddit posts without auth
  • rdt read returns full post text + all comments
  • bili hot returns trending videos with view/like/coin counts
  • bili search --type video returns video results

Reddit: Exa crawling had chronic CRAWL_LIVECRAWL_TIMEOUT issues.
rdt-cli (304 stars, public-clis) works without login — search, read
full posts, and comments all verified. Massive improvement.

Bilibili: add bili-cli (590 stars) as optional enhanced backend for
hot/rank/search/feed. yt-dlp remains for video metadata + subtitles.

Also fix UA string (was "agent-reach/1.0", now proper browser UA).

75 tests passing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Panniantong Panniantong merged commit 15f161e into main Mar 31, 2026
4 checks passed
@Panniantong Panniantong deleted the fix/reddit-bilibili-cli-upgrade branch March 31, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant