🦀 ClawHub
Zhihu CLI
by @lightislost
Command-line tool for searching, reading, and interacting with Zhihu (知乎). Supports hot topics, content search, article reading, user info, and Browser Relay...
💡 Examples
# Get hot topics
zhihu hotSearch for Python tutorials
zhihu search Python教程Read an answer
zhihu read https://www.zhihu.com/question/123456/answer/789012Get user info
zhihu user lightislostCheck login
zhihu whoami
⚙️ Configuration
1. Ensure OpenClaw Browser Relay is connected 2. Use the respective command to get instructions
Voting
zhihu vote
Then click the vote button in browser or use JS:
const btn = document.querySelector('button[class*="VoteButton"]');
if (btn) btn.click();
Following
zhihu follow
Or click the follow button in browser.📋 Tips & Best Practices
~/.zhihu-cookieTERMINAL
clawhub install zhihu-cli