# Douban Scraper (`istmobot/douban-scraper-cheap`) Actor

Scrape Douban (豆瓣) with no login: long reviews, short comments with stars (movies too), subject search and group search for movies, books and music. Input: subject links or a keyword. Output: one row per review, comment, subject or topic. Same fields as the top Douban Actor, about half the price.

- **URL**: https://apify.com/istmobot/douban-scraper-cheap.md
- **Developed by:** [Istmobot](https://apify.com/istmobot) (community)
- **Categories:** Social media, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $13.20 / 1,000 reviews

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Douban Scraper: reviews, comments, search and group search

**Cheaper drop-in alternative to the most used Douban Actor, with the same input and output fields.** Paste the same input you use today (`mode`, `subjectUrls`, `searchQuery`, `searchType`, `maxResults`, `fetchFullReviewBody`, `deltaMode`) and get rows with the same field names (`reviewId`, `subjectName`, `content`, `rating`, `ratingLabel`, `authorUsername`, `publishedAtIso`, `stats`...) for about half the price. Movie short comments work too.

| Row | This Actor | Market leader |
|---|---|---|
| Long-form review (`review-scraped`) | **$0.0165** | $0.030 |
| Short comment (`comment-scraped`) | **$0.00275** | $0.005 |
| Search result (`subject-search-result`) | **$0.00275** | $0.005 |
| Error rows | free | free |

### What is Douban Scraper?

Douban Scraper reads **Douban (豆瓣)**, China's biggest community for rating and reviewing movies, TV, books and music, with no login, no cookies and no browser. It returns one clean JSON row per long-form review, short comment, search result or group topic, in the original Simplified Chinese.

Use it for:

- **Chinese AI and LLM training data**: long-form opinion text (500 to 5,000+ characters) with a 1-5 star label on each review.
- **Sentiment analysis**: star-rated short comments for supervised classifiers.
- **Brand and title monitoring**: schedule a daily run with Delta mode and get only the new reviews, comments or group topics about your film, book, album or brand.
- **Market research on Chinese audiences**: compare how films and books are received in China with Western platforms.
- **Catalog building**: search Douban by keyword and collect subject IDs, scores, rating counts and covers.

### What data can I get?

Every row has `type` (`review`, `comment`, `subject`, `group_search_result` or `error`) and `scrapedAt`.

| Field | Rows | Meaning |
|---|---|---|
| `reviewId` / `commentId` | review / comment | Douban's ID of the row |
| `subjectId`, `subjectName`, `subjectType` | review, comment, subject | The movie, book or album (`movie`, `book`, `music`) |
| `title` | review, group topic | Review headline or topic title |
| `content` | review, comment | Full review body in markdown (or the list excerpt when `fetchFullReviewBody` is off); comment text |
| `isFullBody` | review | `true` when `content` is the full body |
| `rating`, `ratingLabel` | review, comment | 1-5 stars and Douban's label (力荐, 推荐, 还行, 较差, 很差); `null` when the author gave no stars |
| `rating`, `ratingCount` | subject | Douban score out of 10 and the number of ratings |
| `status` | comment | 看过 / 想看 / 读过... as shown on Douban |
| `authorUsername`, `authorUrl`, `authorAvatarUrl` | review, comment | Public profile name, link and avatar |
| `location` | comment | IP region Douban shows, when present |
| `publishedAt`, `publishedAtIso` | review, comment | Beijing time as shown, and UTC ISO 8601 |
| `stats` | review, comment | `replyCount`, `usefulCount`, `uselessCount` (reviews); `votesCount` (comments) |
| `reviewUrl`, `subjectUrl` | review, subject | Direct links |
| `year`, `author`, `abstract`, `cover` | subject | Release year, author or artist (books, music), Douban's one-line summary, cover image |
| `topicId`, `url`, `groupId`, `groupName`, `groupUrl`, `replyCount`, `postedAt`, `keyword` | group topic | Group search rows |
| `errorCode`, `error` | error | Why an input gave no rows (never charged) |

### How much does it cost?

Pay per row, plus $0.005 per run start. No monthly fee.

| Event | Price | 1,000 rows |
|---|---|---|
| Long-form review | $0.0165 | $16.50 |
| Short comment | $0.00275 | $2.75 |
| Subject search result or group topic match | $0.00275 | $2.75 |
| Run start | $0.005 | - |

Worked examples:

- 100 full-text reviews (the top 40 of 3 movies, minus some): about **$1.65** (market leader: $3.00).
- 1,000 short comments across several books: about **$2.75** (leader: $5.00).
- 200 search results to seed a crawl: about **$0.55** (leader: $1.00).

Fuzzy group-search matches whose title does not contain your keyword, rows already delivered in Delta mode, and error rows are never charged.

### How to use Douban Scraper

From the Apify Console:

1. Click **Try for free**.
2. Pick a **Mode**: `subject_reviews`, `subject_comments`, `subject_search` or `group_search`.
3. Paste one or more **Subject URLs** (for reviews and comments) or a **Search query** (for the search modes).
4. Set **Max results per URL or query** and click **Start**.
5. Download the rows as JSON, CSV, Excel or HTML, or read them through the API.

Through the API: call `POST https://api.apify.com/v2/acts/istmobot~douban-scraper-cheap/run-sync-get-dataset-items?token=YOUR_TOKEN` with the input JSON as the body. The answer is the list of rows.

A good flow: run `subject_search` with a Chinese title, then feed the `subjectUrl` of the rows you want into `subject_reviews` or `subject_comments`.

### ⬇️ Input

```json
{
    "mode": "subject_reviews",
    "subjectUrls": [
        "https://movie.douban.com/subject/1292052/",
        "https://book.douban.com/subject/1084336/"
    ],
    "maxResults": 100,
    "fetchFullReviewBody": true
}
```

| Field | Type | Notes |
|---|---|---|
| `mode` | string | `subject_reviews`, `subject_comments`, `subject_search`, `group_search`, `group_topic` |
| `subjectUrls` | array | Movie, book or music subject links. A bare numeric ID is read as a movie |
| `searchQuery` | string | Keyword for the search modes. Use the Chinese title (三体, not "Three-Body") |
| `searchType` | string | `all` (default), `movie`, `book`, `music` |
| `maxResults` | integer | Rows per subject link or per query (default 50) |
| `fetchFullReviewBody` | boolean | Full markdown body per review (default on, same price) |
| `deltaMode` | boolean | Skip rows delivered by earlier runs; you pay only for new ones |
| `deltaStateKey` | string | Optional name for the Delta memory |
| `topicUrls` | array | For `group_topic` (see the limits below) |
| `proxyConfiguration` | object | Default Apify datacenter proxy works; residential also works |

Other inputs:

```json
{ "mode": "subject_comments", "subjectUrls": ["https://movie.douban.com/subject/1292052/"], "maxResults": 200 }
```

```json
{ "mode": "subject_search", "searchQuery": "三体", "searchType": "all", "maxResults": 30 }
```

```json
{ "mode": "group_search", "searchQuery": "李宁", "maxResults": 50 }
```

#### Scheduled monitoring

Create a task with `deltaMode: true` and schedule it daily. Each run returns only reviews or comments that were not delivered before, so a quiet day costs just the $0.005 start.

### ⬆️ Output

A review row:

```json
{
    "type": "review",
    "reviewId": "1000369",
    "subjectId": "1292052",
    "subjectName": "肖申克的救赎",
    "subjectType": "movie",
    "title": "十年·肖申克的救赎",
    "content": "距离斯蒂芬·金（Stephen King）和德拉邦特（Frank Darabont）们缔造这部伟大的作品已经有十年了。……\n\n**［1］信 念**\n\n……",
    "isFullBody": true,
    "rating": 5,
    "ratingLabel": "力荐",
    "authorUsername": "大头绿豆",
    "authorUrl": "https://www.douban.com/people/bighead/",
    "authorAvatarUrl": "https://img3.doubanio.com/icon/u1000152-23.jpg",
    "publishedAt": "2005-05-12 20:44:13",
    "publishedAtIso": "2005-05-12T12:44:13Z",
    "stats": { "replyCount": 1082, "usefulCount": 18963, "uselessCount": 735 },
    "reviewUrl": "https://movie.douban.com/review/1000369/",
    "scrapedAt": "2026-11-15T05:03:28Z"
}
```

A comment row:

```json
{
    "type": "comment",
    "commentId": "28737569",
    "subjectId": "1292052",
    "subjectName": "肖申克的救赎",
    "subjectType": "movie",
    "content": "人的生命不过是从一个洞穴通往另一个世界..然后在那个世界的雨中继续颤抖.i hope",
    "rating": 4,
    "ratingLabel": "推荐",
    "status": "看过",
    "authorUsername": "文泽尔",
    "authorUrl": "https://www.douban.com/people/wenzel/",
    "authorAvatarUrl": "https://img3.doubanio.com/icon/u1781395-113.jpg",
    "location": null,
    "publishedAt": "2008-01-14 01:53:08",
    "publishedAtIso": "2008-01-13T17:53:08Z",
    "stats": { "votesCount": 5250 },
    "scrapedAt": "2026-11-15T05:04:10Z"
}
```

A search row:

```json
{
    "type": "subject",
    "subjectId": "2567698",
    "subjectType": "book",
    "subjectName": "三体 : “地球往事”三部曲之一",
    "year": "2008",
    "author": "刘慈欣",
    "abstract": "刘慈欣 / 重庆出版社 / 2008-1 / 23.00",
    "rating": 8.9,
    "ratingCount": 519357,
    "cover": "https://img3.doubanio.com/view/subject/m/public/s2768378.jpg",
    "subjectUrl": "https://book.douban.com/subject/2567698/",
    "searchQuery": "三体",
    "scrapedAt": "2026-11-15T05:04:15Z"
}
```

A group search row:

```json
{
    "type": "group_search_result",
    "topicId": "504915026",
    "title": "【已出】李宁暖舱羽绒服不到200，按实付收，可换码改地址。",
    "url": "https://www.douban.com/group/topic/504915026/",
    "groupId": "536786",
    "groupName": "拼组  / 我跟你拼了！",
    "groupUrl": "https://www.douban.com/group/536786/",
    "replyCount": 11,
    "postedAt": "2026-11-07T16:20:11+08:00",
    "keyword": "李宁",
    "mode": "group_search",
    "scrapedAt": "2026-11-15T05:04:19Z"
}
```

### Error items

When a link, query or topic gives no rows, you get one free row that says why, and the run goes on with the next input:

```json
{
    "type": "error",
    "mode": "subject_reviews",
    "subjectUrl": "https://book.douban.com/subject/99999999999/",
    "subjectId": "99999999999",
    "errorCode": "NOT_FOUND",
    "error": "Douban says this page does not exist (HTTP 404). Not charged.",
    "scrapedAt": "2026-11-15T05:04:26Z"
}
```

Codes: `INVALID_INPUT`, `NOT_FOUND`, `LOGIN_REQUIRED`, `NO_RESULTS`, `FETCH_FAILED`, `UNKNOWN_MODE`. Error rows are never charged.

### Integrations & API

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("istmobot/douban-scraper-cheap").call(run_input={
    "mode": "subject_comments",
    "subjectUrls": ["https://book.douban.com/subject/1084336/"],
    "maxResults": 200,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

Node.js:

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('istmobot/douban-scraper-cheap').call({
    mode: 'subject_reviews',
    subjectUrls: ['https://movie.douban.com/subject/1292052/'],
    maxResults: 50,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

curl:

```bash
curl -X POST "https://api.apify.com/v2/acts/istmobot~douban-scraper-cheap/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode":"subject_search","searchQuery":"三体","maxResults":20}'
```

Make, Zapier and n8n have Apify modules: pick this Actor, paste the input and map the rows. Add a webhook on `ACTOR.RUN.SUCCEEDED` to be told when a scheduled run is done, or send the rows to Google Sheets, Slack or your database.

#### 🤖 Use with AI agents (MCP)

Add `https://mcp.apify.com?tools=istmobot/douban-scraper-cheap` to Claude, Cursor or any MCP client. Example prompt: "Get the 50 most useful Douban reviews of 肖申克的救赎 and summarise what Chinese viewers praise and criticise."

### Want other data from China?

- [Weibo Scraper](https://apify.com/istmobot/weibo-scraper-cheap): posts, hot search, comments and profiles.
- [Bilibili Scraper](https://apify.com/istmobot/bilibili-scraper): videos, comments and channels.
- [WeChat Articles Scraper](https://apify.com/istmobot/wechat-articles-scraper): public account articles.

### ❓ FAQ

**Do I need a Douban account or cookies?** No. The Actor never logs in. It reads pages Douban shows to logged-out visitors and answers Douban's bot check (a small proof-of-work puzzle) by itself.

**Is scraping Douban legal?** The Actor reads only public pages. Some fields describe people (author names, profile links, avatars): you decide what to collect and need a lawful basis to process it (for example GDPR). Respect Douban's terms and your local law.

**Do movie short comments work?** Yes. The leading Douban Actor returns a diagnostic row for movie comments; this one returns the comments.

**How many rows can I get per subject?** Douban shows logged-out visitors only the start of each list: the 40 most useful long reviews of a subject and about 200 short comments (about 100 from people who watched, read or listened, then about 100 from people who want to). Deeper pages show a login wall. Every logged-out scraper hits the same wall. To collect more, add more subjects (search a title, then pass the editions, seasons or related subjects), and use Delta mode on a schedule to catch new reviews and comments as they appear.

**What about group topics?** Douban shows group topic pages only to logged-in users (HTTP 403 for every visitor we tested), so `group_topic` returns a free `LOGIN_REQUIRED` row per topic. `group_search` works and lists topics by title, newest first, up to 10 search pages (about 500 listed topics) per run.

**Which proxy should I use?** The default Apify datacenter proxy works for every mode. A residential proxy setting from another Actor's input also works.

**How fast is it?** About 25 full-text reviews in 15 seconds, or 60 comments in 5 seconds.

**Can I run it on a schedule?** Yes. Turn on `deltaMode` and you pay only for rows that are new since the last run.

**In what formats can I download the data?** JSON, CSV, Excel, XML, HTML table and RSS, from the Console or the API.

**Is the content translated?** No. Rows are in the original Simplified Chinese. Pipe them through a translation step if you need English.

### Your feedback

Found a bug or need a field? Open an issue on the Actor's **Issues** tab and we usually answer within a day.

Not affiliated with, endorsed by or sponsored by Douban.

# Actor input Schema

## `mode` (type: `string`):

What to get, one mode per run, no login. subject_reviews: long-form reviews of each subject in subjectUrls (movies, books, music). subject_comments: short comments with star ratings (movies too). subject_search: movies, books or music matching searchQuery; each row's subjectUrl feeds the two modes above. group_search: Douban Group topics whose title contains searchQuery, newest first. group_topic: Douban shows group topics only to logged-in users, so this mode returns a free error row per topic. Example: "subject_reviews".

## `subjectUrls` (type: `array`):

For subject_reviews and subject_comments. Douban subject links, one per line, e.g. "https://movie.douban.com/subject/1292052/", "https://book.douban.com/subject/1084336/" or "https://music.douban.com/subject/1419463/". A bare numeric ID is read as a movie.

## `searchQuery` (type: `string`):

For subject_search and group_search. A keyword in Chinese or English. Douban indexes titles in Chinese, so "三体" finds far more than "The Three-Body Problem". In group_search only topics whose title contains the exact keyword are returned (case-insensitive). Examples: "三体", "李宁".

## `searchType` (type: `string`):

subject_search only: "all" mixes movies, books and music page by page; or pick one category. Example: "book".

## `topicUrls` (type: `array`):

For group_topic. Douban Group topic links, e.g. "https://www.douban.com/group/topic/319929381/". Douban shows topics only to logged-in users, so each topic gives a free error row (LOGIN_REQUIRED or NOT_FOUND). Use group_search to find topics by keyword.

## `maxResults` (type: `integer`):

Maximum rows per subject link (reviews or comments) or per search query. Douban shows logged-out visitors at most the 40 most useful reviews and about 200 short comments per subject; search goes deeper. Example: 30.

## `fetchFullReviewBody` (type: `boolean`):

subject_reviews only. On (default): each review row carries the full long-form text in markdown (one extra light request per review). Off: the ~150-character excerpt Douban shows in the list. The price is the same either way.

## `deltaMode` (type: `boolean`):

For scheduled runs. On: the Actor remembers the reviews, comments, subjects and topics it already delivered for this mode and these targets (up to 200,000 IDs) and skips them, so you are charged only for new rows. Example: run daily on a movie's comments to get only today's new ones.

## `deltaStateKey` (type: `string`):

Only used when Delta mode is on. By default each mode + target combination keeps its own memory. Give a name (letters, digits, - or \_) to share or reset a memory on purpose, e.g. "brand-watch-2026".

## `proxyConfiguration` (type: `object`):

Apify proxy. The default datacenter proxy works for every mode: the Actor answers Douban's bot check by itself. Residential also works.

## Actor input object example

```json
{
  "mode": "subject_reviews",
  "subjectUrls": [
    "https://book.douban.com/subject/2567698/"
  ],
  "searchQuery": "三体",
  "searchType": "all",
  "maxResults": 30,
  "fetchFullReviewBody": true,
  "deltaMode": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "subject_reviews",
    "subjectUrls": [
        "https://book.douban.com/subject/2567698/"
    ],
    "searchQuery": "三体",
    "maxResults": 30,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("istmobot/douban-scraper-cheap").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "subject_reviews",
    "subjectUrls": ["https://book.douban.com/subject/2567698/"],
    "searchQuery": "三体",
    "maxResults": 30,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("istmobot/douban-scraper-cheap").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "subject_reviews",
  "subjectUrls": [
    "https://book.douban.com/subject/2567698/"
  ],
  "searchQuery": "三体",
  "maxResults": 30,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call istmobot/douban-scraper-cheap --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,istmobot/douban-scraper-cheap"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/0xprEfGzcWE1d7ZFE/builds/d8IopLHZj0hE5zW59/openapi.json
