# Douban Reviews Scraper (`automation-lab/douban-reviews-scraper`) Actor

Scrape Douban long reviews, short comments, star ratings and group discussions for movies, TV, books and music. Full review text, votes, rating distribution, since-date filter. No login, no cookies.

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

## Pricing

from $3.30 / 1,000 long 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 Reviews Scraper

**Douban Reviews Scraper** extracts long reviews (影评, 书评, 乐评), short comments (短评), star ratings and group discussions (小组讨论) from [Douban](https://www.douban.com), China's largest review community for movies, TV shows, books and music. Give it Douban title URLs, a search keyword or group URLs and get clean JSON with full review text, 1–5 star ratings, useful/useless votes, authors, IP regions and dates.

No Douban account, cookies or browser needed. Runs use the Apify datacenter proxy by default, which keeps them cheap.

### What does Douban Reviews Scraper do?

- 📝 **Long reviews**: title, complete text (thousands of characters), stars, useful (有用) and useless (没用) votes, reply count, author and date.
- 💬 **Short comments**: text, stars, upvotes, author, city, IP region and date.
- ⭐ **Title summaries**: Douban rating out of 10, rating count, percentage of ratings per star (1–5), watched / want / in-progress counts, year, genres, cover.
- 👥 **Group discussions**: title, full body, reply and like counts, author, IP region, created and last-activity dates, with replies nested inside each discussion.
- 🔎 **Keyword search**: find movies, books or albums by keyword and scrape their reviews in one run.
- 📅 **Since-date filter**: keep only items written after a date, for recurring monitoring runs.

### Who is it for?

- **Brand and media monitoring teams** tracking how Chinese audiences react to a film, series, book or album.
- **Market researchers and analysts** measuring sentiment on Chinese releases before or after launch.
- **AI and NLP teams** building Chinese-language review corpora with star labels for sentiment models and LLM fine-tuning.
- **Studios, publishers and labels** benchmarking titles against competitors on Douban.
- **Academics** studying Chinese online communities and Douban groups.

### Why use this Douban scraper?

- **Full review text, not just abstracts**: each long review is fetched in full, with both useful and useless votes.
- **All record types in one Actor**: reviews, comments, rating distribution and group discussions, each in its own dataset view.
- **Pay per record type**: you pay only for the record types you turn on, and replies come inside their discussion record at no separate charge.
- **No login**: the Actor uses only public data that Douban shows to logged-out visitors.
- **Honest limits**: Douban caps what logged-out visitors can see, and this page explains those caps instead of hiding them.

### What data can you extract from Douban?

| Field | Record types | Description |
|---|---|---|
| `recordType` | all | `subject`, `review`, `comment` or `topic` |
| `subjectTitle`, `subjectId`, `subjectType` | subject, review, comment | Movie, TV, book or album the item belongs to |
| `title` | review, topic, subject | Review title, discussion title or title name |
| `text` | all | Full review text, comment, discussion body or synopsis |
| `stars` | review, comment | Reviewer rating 1–5 (null when not rated) |
| `usefulCount`, `uselessCount` | review | Useful / useless votes |
| `voteCount` | comment | Upvotes on a short comment |
| `commentsCount` | review, topic | Number of replies |
| `authorName`, `authorId`, `authorUrl`, `authorLocation` | review, comment, topic | Author profile |
| `ipLocation` | comment, review, topic | Province Douban shows for the post (IP属地) |
| `createdAt` | review, comment, topic | ISO 8601 date in China time (+08:00) |
| `rating`, `ratingCount`, `ratingDistribution` | subject | Rating out of 10, number of ratings, percent per star |
| `doneCount`, `wishCount`, `doingCount` | subject | Watched/read, want, in progress |
| `year`, `genres`, `cardSubtitle`, `coverUrl` | subject | Title metadata |
| `groupId`, `groupName`, `likeCount`, `updatedAt`, `replies` | topic | Group discussion data |

### How much does it cost to scrape Douban reviews?

This Actor uses pay-per-event pricing. You pay only for records delivered to your dataset, plus a small start fee per run:

| Event | Price (Free plan) |
|---|---|
| Run start | $0.002 per run |
| Long review | $0.004131 per review |
| Short comment | $0.003411 per comment |
| Title summary | $0.0040809 per title |
| Group discussion | $0.004131 per discussion, replies included |

Higher Apify plans pay less per record: 10% less on Scale and 20% less on Business. Example costs on the Free plan:

- **1 movie, 20 long reviews + 50 short comments + summary**: about $0.26.
- **10 titles, 40 reviews + 150 comments each**: about $6.81.
- **1 group, 100 recent discussions with replies**: about $0.42.

Apify's free plan includes monthly credit, enough for several small runs.

### How to scrape Douban reviews

1. Open **Douban Reviews Scraper** in Apify Console.
2. Paste one or more Douban title URLs, for example `https://movie.douban.com/subject/1292052/`, or type a search keyword.
3. Choose record types: title summary, long reviews, short comments.
4. Optionally add group URLs or discussion URLs.
5. Set the limits and, for monitoring, a **since** date.
6. Click **Start** and download the results as JSON, CSV, Excel or HTML.

### Input parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `subjects` | array | – | Douban title URLs or IDs. A bare number is a movie/TV ID; use `book:1007305` or `music:1395770` for other types |
| `searchQuery` | string | – | Keyword to find titles |
| `searchType` | string | `movie` | `movie` (includes TV), `book` or `music` |
| `maxSubjectsPerSearch` | integer | 3 | Top search matches to scrape |
| `groups` | array | – | Douban group URLs or IDs |
| `topicUrls` | array | – | Single discussion URLs |
| `includeSubjectSummary` | boolean | true | One summary record per title |
| `includeReviews` | boolean | true | Long reviews |
| `includeComments` | boolean | true | Short comments |
| `maxReviewsPerSubject` | integer | 20 | Up to 40 |
| `maxCommentsPerSubject` | integer | 50 | Up to 150 |
| `fullReviewText` | boolean | true | Fetch the complete review text and useless votes |
| `maxTopicsPerGroup` | integer | 20 | Up to 450 |
| `includeReplies` | boolean | true | Nest replies inside each discussion record |
| `maxRepliesPerTopic` | integer | 20 | Replies per discussion |
| `sinceDate` | string | – | `YYYY-MM-DD` or relative such as `7 days` |
| `maxItems` | integer | 100 | Total record cap for the run |
| `proxyConfiguration` | object | Apify datacenter | Proxy settings |

Example input:

```json
{
    "subjects": ["https://movie.douban.com/subject/1291546/", "book:1007305"],
    "maxReviewsPerSubject": 10,
    "maxCommentsPerSubject": 50,
    "groups": ["https://www.douban.com/group/blabla/"],
    "maxTopicsPerGroup": 10,
    "maxItems": 200
}
```

### Output example

A long review:

```json
{
    "recordType": "review",
    "recordId": "1380398",
    "url": "https://movie.douban.com/review/1380398/",
    "subjectId": "1291546",
    "subjectType": "movie",
    "subjectTitle": "霸王别姬",
    "title": "最懂蝶衣袁四爷",
    "text": "李碧华名作《霸王别姬》，我没看过原著，只看了电影。…",
    "stars": 5,
    "usefulCount": 25973,
    "uselessCount": 1412,
    "commentsCount": 2027,
    "authorName": "陈野犁",
    "authorId": "1588315",
    "authorUrl": "https://www.douban.com/people/1588315/",
    "createdAt": "2008-05-15T11:01:55+08:00",
    "source": "https://movie.douban.com/subject/1291546/",
    "scrapedAt": "2026-11-22T07:14:27.090Z"
}
```

A title summary:

```json
{
    "recordType": "subject",
    "recordId": "1291546",
    "subjectTitle": "霸王别姬",
    "rating": 9.6,
    "ratingCount": 2467421,
    "ratingDistribution": { "1": 0.18, "2": 0.17, "3": 2, "4": 15.33, "5": 82.32 },
    "doneCount": 4322143,
    "wishCount": 493744,
    "year": "1993",
    "genres": ["剧情", "爱情", "同性"],
    "cardSubtitle": "1993 / 中国大陆 中国香港 / 剧情 爱情 同性 / 陈凯歌 / 张国荣 张丰毅"
}
```

A group discussion (replies shortened):

```json
{
    "recordType": "topic",
    "recordId": "506378696",
    "title": "为什么薛某q那么多音综资源，却很少上晚会？🤔",
    "text": "突然想到的\n\n照理说黑料那么多不能上音综当导师啊",
    "commentsCount": 21,
    "authorName": "幸运儿奥乐米墩",
    "ipLocation": "广东",
    "createdAt": "2026-11-21T18:43:39+08:00",
    "groupId": "248952",
    "groupName": "豆瓣π组",
    "updatedAt": "2026-11-22T15:15:29+08:00",
    "replies": [
        { "recordId": "6836711770", "text": "登不了台面的货🙄", "voteCount": 3, "authorName": "momo", "ipLocation": "重庆", "createdAt": "2026-11-21T20:33:56+08:00" }
    ]
}
```

### Tips and limits

- **Douban's logged-out limits.** Douban shows visitors without an account the **40 most popular long reviews** and **about 150 popular short comments** per title, and about 450 recent discussions per group. Newest-first review lists need a Douban login, so this Actor returns reviews and comments in Douban's popularity order. It never logs in.
- **Since-date and popular order.** On titles that have been out for a while, the most popular reviews are often old, so a recent since-date may return few reviews. The filter works best on new releases and on group discussions, which come latest activity first.
- **Turn off Full review text** for faster runs when abstracts (about 100 characters) are enough. Useless votes need the full text.
- **TV shows** use movie URLs on Douban (`movie.douban.com/subject/...`) and work the same way.
- **Errors.** An invalid URL stops the run before anything is charged. A title that does not exist is skipped and named in the run status.

### Integrations and workflows

- **Weekly sentiment report**: schedule a run for your titles with `sinceDate` set to `7 days` and send the dataset to Google Sheets or Slack.
- **LLM corpus**: export long reviews with stars as labelled Chinese sentiment data (JSONL or CSV).
- **Release tracking**: run a keyword search for an upcoming film and compare the rating distribution day by day.
- **Group monitoring**: watch a fan or brand group and get new discussions with their replies through a webhook to Make, Zapier or n8n.

### Use the Douban scraper through the API

**cURL**

```bash
curl -X POST "https://api.apify.com/v2/acts/automation-lab~douban-reviews-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"subjects":["https://movie.douban.com/subject/1292052/"],"maxReviewsPerSubject":10,"maxItems":50}'
```

**JavaScript**

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

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('automation-lab/douban-reviews-scraper').call({
    subjects: ['https://movie.douban.com/subject/1292052/'],
    maxReviewsPerSubject: 10,
    maxItems: 50,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.filter((item) => item.recordType === 'review'));
```

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("automation-lab/douban-reviews-scraper").call(run_input={
    "searchQuery": "三体",
    "searchType": "book",
    "maxSubjectsPerSearch": 2,
    "maxItems": 100,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["recordType"], item.get("stars"), (item.get("text") or "")[:80])
```

### Use with AI agents via MCP

Connect Douban Reviews Scraper to Claude, Cursor or another MCP client through the Apify MCP server.

**Claude Code**

```bash
claude mcp add --transport http apify \
  "https://mcp.apify.com?tools=automation-lab/douban-reviews-scraper"
```

**Claude Desktop, Cursor or VS Code** (JSON configuration):

```json
{
    "mcpServers": {
        "apify": {
            "url": "https://mcp.apify.com?tools=automation-lab/douban-reviews-scraper"
        }
    }
}
```

Selecting this Actor also gives the client the run and dataset tools (`get-actor-run`, `get-dataset-items` and others). A good pattern: start one run, keep its run ID, check that same run with `get-actor-run` until it finishes (with a deadline), then read the dataset in pages with `get-dataset-items` using `limit`, `offset` and only the `fields` you need, so large review texts do not flood the model context.

Example prompts:

- "Get the 20 most useful long reviews of 流浪地球2 on Douban and summarize what viewers criticize."
- "Compare the Douban star distribution of 三体 and 三体Ⅱ."
- "Fetch the last 7 days of discussions in the Douban group blabla and list the main topics."

### Error diagnostics and data handling

When a run fails, the Actor sends a sanitized error report (error message, stack trace and input with secrets and URL queries removed) to our private GlitchTip error tracker so we can fix bugs quickly. Reports are kept for 30 days and are never shared or used for training. Scraped data stays in your own Apify storage.

### Is it legal to scrape Douban?

This Actor collects only public data that Douban shows to any visitor without an account. It does not log in, bypass paywalls or access private content. Reviews and comments include usernames and profile links, which can be personal data under laws such as China's PIPL and the EU GDPR. Collect only what you need, store it securely and respect Douban's terms and the rights of the authors. Consult a lawyer if you are unsure about your use case. This Actor is not affiliated with or endorsed by Douban.

### FAQ

**Can I get all reviews of a title, or newest first?**
No. Douban shows logged-out visitors the 40 most popular long reviews and about 150 popular short comments per title. Newest-first lists need a Douban login, and this Actor never logs in.

**Does it work for TV shows, books and music?**
Yes. TV shows use `movie.douban.com` URLs. For bare IDs of books or music, write `book:<id>` or `music:<id>`.

**Why did my since-date run return no reviews?**
The popular reviews of older titles were written years ago. Use since-date with new releases or groups, or leave it empty to get the popular reviews.

**The run says a title was skipped.**
The ID does not exist on Douban, or the title is restricted. Check the URL in your browser.

**Do I need a proxy?**
The default Apify datacenter proxy works. Switch to the residential group only if you see repeated errors.

### Related scrapers

- [Weibo Posts and Profiles Scraper](https://apify.com/automation-lab/weibo-posts-profiles-scraper): Chinese social posts and profiles.
- [Xiaohongshu Comments & Reply Threads Scraper](https://apify.com/automation-lab/xiaohongshu-comments-reply-threads-scraper): RedNote comment threads for consumer sentiment.
- [Douyin Video Comments Scraper](https://apify.com/automation-lab/douyin-video-comments-scraper): comments on Chinese short videos.
- [Bilibili Scraper](https://apify.com/automation-lab/bilibili-scraper): Bilibili videos and engagement.
- [Letterboxd Film Details Scraper](https://apify.com/automation-lab/letterboxd-film-details-scraper): film ratings from the Western counterpart of Douban.

# Changelog

This Actor's version history is a separate document: https://apify.com/automation-lab/douban-reviews-scraper/changelog.md

# Actor input Schema

## `subjects` (type: `array`):

Douban subject URLs such as https://movie.douban.com/subject/1292052/ or https://book.douban.com/subject/1007305/. A bare number is read as a movie or TV ID; use book:1007305 or music:1395770 for other types.

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

Find titles by keyword (Chinese or English) and scrape their reviews, for example 三体 or 霸王别姬.

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

Which Douban catalogue the keyword searches.

## `maxSubjectsPerSearch` (type: `integer`):

How many top search matches to scrape.

## `groups` (type: `array`):

Group URLs such as https://www.douban.com/group/blabla/ or group IDs. Returns the group's discussions, latest activity first.

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

Single discussion URLs such as https://www.douban.com/group/topic/506203953/.

## `includeSubjectSummary` (type: `boolean`):

One record per title with its 10-point rating, rating count, 1–5 star distribution, and watched/want counts.

## `includeReviews` (type: `boolean`):

Long-form reviews with title, full text, stars, useful/useless votes, author and date.

## `includeComments` (type: `boolean`):

Short comments with text, stars, votes, author, IP region and date.

## `maxReviewsPerSubject` (type: `integer`):

Douban shows logged-out visitors the 40 most popular long reviews per title.

## `maxCommentsPerSubject` (type: `integer`):

Douban shows logged-out visitors about 150 popular short comments per title.

## `fullReviewText` (type: `boolean`):

Fetch each long review's complete text and useless votes. Off returns the abstract only, which is faster.

## `maxTopicsPerGroup` (type: `integer`):

Most recent discussions to return per group (logged-out limit about 450).

## `includeReplies` (type: `boolean`):

Nest replies inside each discussion record at no extra charge.

## `maxRepliesPerTopic` (type: `integer`):

Maximum replies nested in each discussion.

## `sinceDate` (type: `string`):

Keep only reviews, comments and discussions written on or after this date (China time). Use YYYY-MM-DD or a relative value such as 7 days. Good for recurring monitoring runs.

## `maxItems` (type: `integer`):

Stop after this many records in total across all inputs.

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

Apify datacenter proxy works for Douban. Switch to residential only if you see blocks.

## Actor input object example

```json
{
  "subjects": [
    "https://movie.douban.com/subject/1292052/"
  ],
  "searchType": "movie",
  "maxSubjectsPerSearch": 3,
  "includeSubjectSummary": true,
  "includeReviews": true,
  "includeComments": true,
  "maxReviewsPerSubject": 20,
  "maxCommentsPerSubject": 50,
  "fullReviewText": true,
  "maxTopicsPerGroup": 20,
  "includeReplies": true,
  "maxRepliesPerTopic": 20,
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

All records with type, title, text, stars, votes, author and date.

## `reviews` (type: `string`):

Long reviews with full text, stars, useful/useless votes, author and date.

## `comments` (type: `string`):

Short comments with text, stars, upvotes, author, IP region and date.

## `subjects` (type: `string`):

One row per title with rating, rating count, 1-5 star distribution and watched/want counts.

## `topics` (type: `string`):

Group discussions with body, reply and like counts, author and dates; replies are nested.

# 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 = {
    "subjects": [
        "https://movie.douban.com/subject/1292052/"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("automation-lab/douban-reviews-scraper").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 = {
    "subjects": ["https://movie.douban.com/subject/1292052/"],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("automation-lab/douban-reviews-scraper").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 '{
  "subjects": [
    "https://movie.douban.com/subject/1292052/"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call automation-lab/douban-reviews-scraper --silent --output-dataset

```

## MCP server setup

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

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/t3gCnFKBQfBmkvSUq/builds/PLsusgWrPFJ7Qrqxe/openapi.json
