تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

douban-sync-skill

بواسطة cosformula

Data & Analytics
796التنزيلات وفق ما يذكره clawskills.sh
2النجوم
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Export and sync Douban (豆瓣) book/movie/music/game collections.

الوصف

ما الذي تفعله هذه المهارة

Exports Douban collections (books, movies, music, games) to local CSV files and keeps them in sync via RSS. Supports full scrape on first run and lightweight daily incremental updates without login. Output is compatible with Obsidian and other tools that read CSV.

RSS-based incremental sync avoids repeated full scrapes and works without login, making daily automation practical without hitting rate limits.

متى تستخدمها

  • Exporting your entire Douban reading history to a local file
  • Setting up a daily cron job to auto-sync new Douban activity
  • Migrating Douban data to Obsidian for personal knowledge management
  • Backing up game and music collections before account changes
  • Reviewing watch/read history offline without logging into Douban

مثال على سير العمل

الإدخال

User asks: export all my Douban books and movies to CSV

الوكيل
  1. 1

    Read DOUBAN_USER from environment to get the user ID

  2. 2

    Run full export scraper against book and movie collection pages, paginating through all results

  3. 3

    Apply 2-3 second delays between pages to avoid rate limiting

  4. 4

    Deduplicate entries by Douban URL across runs

  5. 5

    Write output to ~/douban-sync/{user_id}/书.csv and 影视.csv

الإخراج

CSV files with title, URL, date, rating, status, and comment columns for all collected items

المتطلبات

  • DOUBAN_USER environment variable (Douban user ID)
  • Douban account login in browser (required for full export only)

التثبيت

clawhub install cosformula/douban-sync-skill

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط