dbapi
基于爬虫的豆瓣API SDK
Decision gist · record as of 2026-08-14
Yes, if you actively use Douban and need CLI automation for group or social operations, and you can verify the scraper still works against the current site. No, if you require a well-maintained, actively updated package—the last release was 2019 and no fixes have shipped since, so expect potential breakage from site changes. Conditional on testing against your Douban use case first.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Douban account and active login credentials; the package wraps Douban's web interface and may break if Douban changes its HTML structure.
- Low install friction with a single runtime dependency (lxml).
- Maintenance status is active, though the latest release was in 2019 and no updates have shipped since then despite the repository remaining open.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and imposes no significant restrictions on use, modification, or distribution.
last release 2019-06-28 (2604 days) · last repo commit 2026-04-21 · 27 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 116,072 downloads/mo, #12,220 on PyPI
Alternatives
Verify before relying
pip install dbapi
dbapi login
dbapi group list_topics <group_alias> <_type>- Whether Douban's web scraping-based approach still works reliably given potential site structure changes since 2019.
- Python version compatibility—requires_python is unspecified in the package metadata.
- Current functionality of authentication and session management given Douban's potential security updates.
What it is and what it does
dbapi is a command-line client for Douban, a Chinese social platform, built on web scraping rather than an official API. It exposes Douban's group discussions, user profiles, photos, and status updates through a CLI interface, allowing you to perform actions like joining groups, posting topics, liking photos, and managing comments from the terminal.
The package depends on lxml for HTML parsing and provides a broad command surface covering group operations (add/remove topics, manage comments, search), people operations (manage albums and photos, track contacts), and session management (login, logout, cache). It is maintained but has not received updates since 2019, meaning it may face compatibility issues if Douban has changed its site structure or security practices.
Use it for
- Automate bulk operations on Douban groups or personal content from scripts or cron jobs.
- Build a bot or integration that monitors or posts to Douban groups programmatically.
- Manage Douban social interactions (likes, comments, follows) via command-line workflows.
- Scrape or export Douban group discussions and user data for analysis or archival.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you actively use Douban and need CLI automation for group or social operations, and you can verify the scraper still works against the current site.
No, if you require a well-maintained, actively updated package—the last release was 2019 and no fixes have shipped since, so expect potential breakage from site changes. Conditional on testing against your Douban use case first.
Install
dbapi on PyPI
Before you install
Low install friction with a single runtime dependency (lxml). Maintenance status is active, though the latest release was in 2019 and no updates have shipped since then despite the repository remaining open.
Requires a Douban account and active login credentials; the package wraps Douban's web interface and may break if Douban changes its HTML structure.
License in practice
MIT license is permissive and imposes no significant restrictions on use, modification, or distribution.
Quickstart
pip install dbapi
dbapi login
dbapi group list_topics <group_alias> <_type>
Verify before relying
- Whether Douban's web scraping-based approach still works reliably given potential site structure changes since 2019.
- Python version compatibility—requires_python is unspecified in the package metadata.
- Current functionality of authentication and session management given Douban's potential security updates.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagelxml |
| Maintenance | Actively maintained 2,604 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 116,072 / month, #12,220 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: dbapi-0.0.14-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “douban api client”
- dbapiCommand-line client for interacting with Douban (豆瓣) social features…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
- twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also elasticsearch-dbapi · databricks-dbapi · ydb-dbapi · djoser · pephubclient · pyhdb · django-loginas · presto-python-client · fastapi-auth0 · supabase