douban, from the command line
Crawl Douban (豆瓣) into structured JSON, or mirror the whole catalog offline. One pure-Go binary, no API key, output that pipes into the rest of your tools.
Crawl Douban (豆瓣) into structured JSON, or mirror it offline
douban search python # cross-category search
douban book 1084336 # one book in full
douban top250 --limit 50 # the movie Top 250
douban seed ids --type book --from 1084336 --to 1084340
douban crawl --limit 20 # build a local mirror
Seven read-only lookup commands over Douban's public pages (search,
suggest, book, top250, chart, nowplaying, doulist), plus a mirror
subsystem that crawls the catalog into a local store you can query offline. The
CLI reference is the full surface; the mirror
guide is the crawl workflow.
Where to go next
- New here? Read the introduction, then the quick start.
- Installing? See installation.
- Need every flag? The CLI reference is the full surface.