Agent skill · software engineering · daymade

douban-skill

Export and sync Douban (豆瓣) book/movie/music/game collections to local CSV files via Frodo API. Supports full export (all history) and RSS incremental sync (recent items). Use when the user wants to export Douban reading/watching/listening/gaming history, back up their Douban data, set up incremental sync, or mentions 豆瓣/douban collections. Triggers on: 豆瓣, douban, 读书记录, 观影记录, 书影音, 导出豆瓣.

Why this skill is useful

Adds executable scripts for exporting and syncing Douban collections that are not available through official APIs.

What it needs

Requires python installed locally. About 3k tokens when loaded. Last updated 2026-08-07. 1,320 stars on the source repository.

What this skill does

Douban Collection Export Export Douban user collections (books, movies, music, games) to CSV files. Douban has no official data export; the official API shut down in 2018. What This Skill Can Do Full export of all book/movie/music/game collections via Frodo API RSS incremental sync for daily updates (last ~10 items) CSV output with UTF-8 BOM (Excel-compatible), cross-platform (macOS/Windows/Linux) No login, no cookies, no browser required Pre-flight user ID validation (fail fast on wrong ID) What This Skill Cannot Do Cannot export reviews (长评), notes (读书笔记), or broadcasts (广播) Cannot filter by single category in one run (exports all 4 types together) Cannot access private profiles (returns 0 items silently) Why Frodo API (Do NOT Use Web Scraping) Douban uses PoW (Proof of Work) challenges on web pages, blocking all HTTP scraping. We tested 7 approaches — only the Frodo API works. Do NOT attempt web scraping, browsercookie3+requests, curl with cookies, or Jina Reader. See references/troubleshooting.md for the complete failure log of all 7 tested approaches and why each failed. Security & Privacy The API key and HMAC secret in the script are Douban's public mobile app credentials, extracted from the APK. They are shared by all Douban app users and do not identify you. No personal credentials are used or stored. Data is fetched only from frodo.douban.com. Full Export (Primary Method) Finding the user ID: Profile URL douban.com/people/<ID>/ — the ID is after /people/. If the user provides a full URL, the script auto-extracts the ID. Environment variables: DOUBANUSER (required): Douban user ID (alphanumeric or numeric, or full profile URL) DOUBANOUTPUTDIR (optional): Override output directory Default output (auto-detected per platform): macOS: ~/Downloads/douban-sync/<userid>/ Windows: %USERPROFILE%\Downloads\douban-sync\<userid>\ Linux: ~/Downloads/douban-sync/<userid>/ Dependencies: Python 3.6+ standard library only (works with python3 or uv run). …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills daymade/douban-skill

View the source on GitHub

Browse the @skills marketplace