# Douban Group Scraper 豆瓣小组 | Discussions, Members & Replies (`zen-studio/douban-group-scraper`) Actor

Scrape Douban (豆瓣) groups: discussions with full text and reply threads, group profiles with rules and tags, and full member lists with join dates, cities and roles. Search discussions by keyword across every group, or paste group links. Export JSON, CSV or Excel.

- **URL**: https://apify.com/zen-studio/douban-group-scraper.md
- **Developed by:** [Zen Studio](https://apify.com/zen-studio) (community)
- **Categories:** Social media, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 1,000 group discussions

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Douban (豆瓣) Group Scraper | 小组 Discussions, Members & Replies (2026)

<a href="https://console.apify.com/actors/7NIIKWTCMcVzji7Va/input"><img src="https://api.apify.com/v2/key-value-stores/pJ7iaZsTFhR3k9tjV/records/douban-group-readme-hero-v1.png" alt="Douban group scraper compared with a competing scraper: 9,706 discussions from one group, all 52,595 members, and 1,328 groups found for the keyword 租房" width="774" style="max-width:100%"></a>

From **Zen Studio**, creators of [RedNote Comments](https://apify.com/zen-studio/rednote-comments-scraper) and [Douyin Search](https://apify.com/zen-studio/douyin-search-scraper), with **95,000+ combined lifetime runs**.

### Why choose this actor?

- **A keyword, not a link.** Type 蜜雪冰城 and collect the discussions that mention it from every Douban group at once: 1,003 in testing, from hundreds of different groups. No competing scraper searches Douban discussions at all.
- **A whole group, not one thread.** Paste a group link and collect its discussions across every order and tag: 9,706 of a 10,675-discussion group in testing. The most-used competing Douban scraper takes one discussion link at a time.
- **The member list nobody else offers.** Every member with profile link, Douban join date, city, role in the group and weekly posting activity: 52,595 in that same group.
- **Find groups by keyword.** Type 租房 and get the matching groups (1,328 of them), then collect from the best ones. Discussions carry 69 fields with full text, tags, likes and reply threads.

<a href="https://console.apify.com/actors/7NIIKWTCMcVzji7Va/input"><img src="https://api.apify.com/v2/key-value-stores/pJ7iaZsTFhR3k9tjV/records/douban-cta-start-v1.png" alt="Start with a Douban link" width="308"></a>

### Try the example: a group and its newest discussions

Open the actor's [input page](https://console.apify.com/actors/7NIIKWTCMcVzji7Va/input), switch to JSON and paste this. Then start the run.

```json
{
  "startUrls": ["https://www.douban.com/group/740472/"],
  "groupContent": ["discussions", "profile"],
  "maxDiscussions": 20
}
```

Add `"members"` to `groupContent` and set **Max members** to collect the member list. Each discussion, member and group profile is charged, see [pricing](#how-much-does-it-cost-to-scrape-douban-groups).

 

<table>
<tr>
<td colspan="4" style="padding:10px 14px;background:#007711;border:none;border-radius:4px 4px 0 0">
<span style="color:#FAFAF9;font-size:14px;font-weight:700;letter-spacing:0.5px">Zen Studio Douban Suite</span>
<span style="color:#E8F5E9;font-size:13px">&nbsp;&nbsp;&bull;&nbsp;&nbsp;Groups, reviews, comments and ratings from Douban</span>
</td>
</tr>
<tr>
<td style="padding:12px 16px;border:1px solid #E7E5E4;border-radius:0 0 0 4px;background:#D3EDD9;border-right:none;border-top:none;vertical-align:top;width:25%">
<span style="white-space:nowrap"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-bQs2vUPAj8qDbK7EV-bMB0MSMGRY-douban-scraper-logo.png" width="20" height="20" style="vertical-align:middle" alt="Douban Groups icon">&nbsp;&nbsp;<a href="https://apify.com/zen-studio/douban-group-scraper" style="color:#007711;text-decoration:none;font-weight:700;font-size:13px">Douban Groups</a></span><br>
<span style="color:#007711;font-size:12px;font-weight:600">&#10148; You are here</span>
</td>
<td style="padding:12px 16px;border:1px solid #E7E5E4;background:#E8F5E9;border-right:none;border-top:none;vertical-align:top;width:25%">
<span style="white-space:nowrap"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-bQs2vUPAj8qDbK7EV-bMB0MSMGRY-douban-scraper-logo.png" width="20" height="20" style="vertical-align:middle" alt="Douban Scraper icon">&nbsp;&nbsp;<a href="https://apify.com/zen-studio/douban-scraper" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:13px">Douban Scraper</a></span><br>
<span style="color:#78716C;font-size:12px">Comments, titles, search</span>
</td>
<td style="padding:12px 16px;border:1px solid #E7E5E4;background:#E8F5E9;border-right:none;border-top:none;vertical-align:top;width:25%">
<span style="white-space:nowrap"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-bQs2vUPAj8qDbK7EV-bMB0MSMGRY-douban-scraper-logo.png" width="20" height="20" style="vertical-align:middle" alt="Douban Reviews icon">&nbsp;&nbsp;<a href="https://apify.com/zen-studio/douban-reviews-scraper" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:13px">Douban Reviews</a></span><br>
<span style="color:#78716C;font-size:12px">Long-form reviews, star filter</span>
</td>
<td style="padding:12px 16px;border:1px solid #E7E5E4;border-radius:0 0 4px 0;background:#E8F5E9;border-top:none;vertical-align:top;width:25%">
<span style="white-space:nowrap"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-sAWbV6wp5XO5aEapx-C7gOsPJt9Q-xiaohongshu-search-scraper-logo-square.png" width="20" height="20" style="vertical-align:middle" alt="RedNote Comments icon">&nbsp;&nbsp;<a href="https://apify.com/zen-studio/rednote-comments-scraper" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:13px">RedNote Comments</a></span><br>
<span style="color:#78716C;font-size:12px">Comments and reply threads</span>
</td>
</tr>
</table>

#### Copy to your AI assistant

```
zen-studio/douban-group-scraper on Apify. Scrapes Douban (豆瓣) groups: discussions with reply threads, group profiles and full member lists. Call ApifyClient("TOKEN").actor("zen-studio/douban-group-scraper").call(run_input={...}), then client.dataset(run["defaultDatasetId"]).list_items().items. Needs startUrls (group or discussion links), discussionKeywords (finds discussions in every group, ~1,000 per keyword, discussionOrder best|new) or searchQueries (finds whole groups); rows differ by type. Full spec: GET https://api.apify.com/v2/acts/zen-studio~douban-group-scraper/builds/default (Bearer TOKEN) → inputSchema, actorDefinition.storages.dataset, readme. Token: https://console.apify.com/account/integrations
```

 

### Douban group scraper features

<table>
<tr>
<td style="padding:12px 16px;border:1px solid #E7E5E4;background:#F0FDF4;vertical-align:top;width:50%;border-radius:4px 0 0 0">
<span style="color:#1C1917;font-weight:700;font-size:14px">&#128101;&nbsp;&nbsp;Whole groups</span><br>
<span style="color:#57534E;font-size:13px">Every order and tag, 9,706 discussions in testing</span>
</td>
<td style="padding:12px 16px;border:1px solid #E7E5E4;background:#F0FDF4;vertical-align:top;width:50%;border-left:none;border-radius:0 4px 0 0">
<span style="color:#1C1917;font-weight:700;font-size:14px">&#128100;&nbsp;&nbsp;Full member lists</span><br>
<span style="color:#57534E;font-size:13px">Join date, city, role, weekly posting activity</span>
</td>
</tr>
<tr>
<td style="padding:12px 16px;border:1px solid #E7E5E4;background:#E8F5E9;vertical-align:top;width:50%;border-top:none">
<span style="color:#1C1917;font-weight:700;font-size:14px">&#128172;&nbsp;&nbsp;Reply threads</span><br>
<span style="color:#57534E;font-size:13px">Every reply with author, votes and photos, free</span>
</td>
<td style="padding:12px 16px;border:1px solid #E7E5E4;background:#E8F5E9;vertical-align:top;width:50%;border-top:none;border-left:none">
<span style="color:#1C1917;font-weight:700;font-size:14px">&#127991;&nbsp;&nbsp;Tag filter</span><br>
<span style="color:#57534E;font-size:13px">Collect only the group tags you name</span>
</td>
</tr>
<tr>
<td style="padding:12px 16px;border:1px solid #E7E5E4;background:#F0FDF4;vertical-align:top;width:50%;border-top:none">
<span style="color:#1C1917;font-weight:700;font-size:14px">&#128269;&nbsp;&nbsp;Groups by keyword</span><br>
<span style="color:#57534E;font-size:13px">1,328 groups for 租房, then collect from them</span>
</td>
<td style="padding:12px 16px;border:1px solid #E7E5E4;background:#F0FDF4;vertical-align:top;width:50%;border-top:none;border-left:none">
<span style="color:#1C1917;font-weight:700;font-size:14px">&#128220;&nbsp;&nbsp;Group profile</span><br>
<span style="color:#57534E;font-size:13px">Rules, category, tags, counts and owner</span>
</td>
</tr>
<tr>
<td style="padding:12px 16px;border:1px solid #E7E5E4;background:#E8F5E9;vertical-align:top;width:50%;border-top:none;border-radius:0 0 0 4px">
<span style="color:#1C1917;font-weight:700;font-size:14px">&#128270;&nbsp;&nbsp;Discussions by keyword</span><br>
<span style="color:#57534E;font-size:13px">Around 1,000 per keyword, from every group at once</span>
</td>
<td style="padding:12px 16px;border:1px solid #E7E5E4;background:#E8F5E9;vertical-align:top;width:50%;border-top:none;border-left:none;border-radius:0 0 4px 0">
<span style="color:#1C1917;font-weight:700;font-size:14px">&#128337;&nbsp;&nbsp;Best match or newest</span><br>
<span style="color:#57534E;font-size:13px">Research the topic, or monitor it as it happens</span>
</td>
</tr>
</table>

 

### How to scrape Douban groups

1. Open [Douban Group Scraper](https://apify.com/zen-studio/douban-group-scraper) and click **Try for free**.
2. Paste Douban group links or type search terms in the **Input** tab.
3. Choose what each group returns and set the limits.
4. Click **Start**, then export the data as JSON, CSV or Excel.

Ready-made inputs for the most common jobs:

#### Whole group: discussions in every order and tag

```json
{
  "startUrls": ["https://www.douban.com/group/740472/"],
  "discussionSort": "all",
  "maxDiscussions": 2000
}
```

`all` combines newest, popular, featured and every tag tab. Newest alone stops after about 300 discussions.

#### Member list: who is in the group

```json
{
  "startUrls": ["https://www.douban.com/group/740472/"],
  "groupContent": ["members", "profile"],
  "maxMembers": 5000
}
```

Douban lists managers first, then the rest.

#### Discussions by keyword: every group at once

```json
{
  "discussionKeywords": ["蜜雪冰城"],
  "discussionOrder": "best",
  "maxDiscussions": 500,
  "includeReplies": true,
  "maxReplies": 50
}
```

No link needed. Douban matches the full text of a discussion, so this returns posts that only mention 蜜雪冰城 in the body, each with the group it was posted in. Around 1,000 discussions per keyword are reachable; set `discussionOrder` to `new` to lead with the freshest instead of the best matches.

#### Groups by keyword: rental groups in China

```json
{
  "searchQueries": ["租房"],
  "maxGroups": 5,
  "groupContent": ["discussions", "profile"],
  "maxDiscussions": 100
}
```

#### One discussion with its full reply thread

```json
{
  "startUrls": ["https://www.douban.com/group/topic/499747962/"],
  "includeReplies": true,
  "maxReplies": 500
}
```

### Input parameters

Set these in the **Input** tab, or pass them as JSON through the Apify API.

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `startUrls` | string\[] | none | Douban group links and single discussion links. Named groups such as `/group/beijing/` work too. Up to 1,000 per run. |
| `discussionKeywords` | string\[] | none | Keywords to find discussions in every Douban group at once, matched on the full text. Up to 100 per run. |
| `discussionOrder` | string | `best` | Order for `discussionKeywords`: `best` (best match first) or `new` (newest first). |
| `searchQueries` | string\[] | none | Keywords to find whole groups, then collect from the best matches. |
| `maxGroups` | integer | `3` | Groups per search term, up to 20. |
| `groupContent` | string\[] | `["discussions", "profile"]` | What each group returns: `discussions`, `profile`, `members`. |
| `discussionSort` | string | `all` | `all` (every order and tag), `new`, `hot` (popular) or `elite` (featured). |
| `tags` | string\[] | none | Only collect discussions under these group tags, written as Douban shows them. |
| `maxDiscussions` | integer | `100` | Discussions per group, and per discussion keyword. |
| `maxMembers` | integer | `1000` | Members per group, used when `members` is selected. |
| `includeReplies` | boolean | `false` | Attach each discussion's reply thread, at no extra charge. |
| `maxReplies` | integer | `100` | Replies per discussion when `includeReplies` is on. |

### What Douban group data can you extract?

Three kinds of rows, each with its own tab in the run's output:

- **Discussion** (69 fields): title, full text as plain text, Markdown and HTML, tags, featured flag, likes, replies, reads, collections, author with profile, IP location, dates, photos and video, plus the group it belongs to, the keyword that first found it in the run and the reply thread when enabled.
- **Group profile** (33 fields): name, description, rules, category, member and discussion counts, featured count, tag tabs with their own rules, owner, join policy and creation date.
- **Member** (21 fields): name, profile link, avatar, gender, city, Douban join date, role in the group, manager flags and weekly posting activity.

#### Discussion example

```json
{
  "type": "topic",
  "topicId": "344321540",
  "url": "https://www.douban.com/group/topic/344321540/",
  "sharingUrl": "https://www.douban.com/doubanapp/dispatch?uri=%2Fgroup%2Ftopic%2F344321540%3F_spm_id%3DMjU2NDA1OTk0&_i=89537680",
  "title": "分享各种职业性格测试🔗帮助妳探索适合自己的职业",
  "content": "我适合什么工作？我最大的特点是什么？如何在工作中运用我的这些特点？\n\n毕业之后，面对就业我陷入了迷茫，因为我意识到我对自己的了解太少。\n\n从来没有人告诉过我自身有什么特长，我也看不见自己有何特长，于是我搜集了很多职业性格测试，增进对自己的了解，在职业发展中扬长避短。即使不能找到百分百契合度的职业，我们也能更好地了解自己，从深处看见自己。\n\n下面是我自己逐个搜集整理的职业测试🔗均为无偿，包括17个测试：\n\n职业兴趣测评/职业价值观测评/职业气质测评/职业性格测评/沟通交际能力/情绪控制能力/实践执行能力/适应能力/思 ...",
  "contentMarkdown": "我适合什么工作？我最大的特点是什么？如何在工作中运用我的这些特点？\n\n毕业之后，面对就业我陷入了迷茫，因为我意识到我对自己的了解太少。\n\n从来没有人告诉过我自身有什么特长，我也看不见自己有何特长，于是我搜集了很多职业性格测试，增进对自己的了解，在职业发展中扬长避短。即使不能找到百分百契合度的职业，我们也能更好地了解自己，从深处看见自己。\n\n下面是我自己逐个搜集整理的职业测试🔗均为无偿，包括17个测试：\n\n职业兴趣测评/职业价值观测评/职业气质测评/职业性格测评/沟通交际能力/情绪控制能力/实践执行能力/适应能力/思 ...",
  "contentHtml": "<div id='content'><p data-align=\"left\">我适合什么工作？我最大的特点是什么？如何在工作中运用我的这些特点？\n\n毕业之后，面对就业我陷入了迷茫，因为我意识到我对自己的了解太少。\n\n从来没有人告诉过我自身有什么特长，我也看不见自己有何特长，于是我搜集了很多职业性格测试，增进对自己的了解，在职业发展中扬长避短。即使不能找到百分百契合度的职业，我们也能更好地了解自己，从深处看见自己。\n\n下面是我自己逐个搜集整理的职业测试🔗均为无偿，包括17个测试：\n\n职业兴趣测评/职业价值观测评/职业 ...",
  "abstract": "我适合什么工作？我最大的特点是什么？如何在工作中运用我的这些特点？\r...",
  "label": null,
  "subtype": "group",
  "imageLayout": "vertical",
  "isRichText": true,
  "tags": [
    "经验分享"
  ],
  "subTags": [],
  "isElite": true,
  "eliteLabel": "精",
  "isLocked": false,
  "isAdminLocked": false,
  "isOriginal": true,
  "isPrivate": false,
  "isAd": false,
  "isEvent": false,
  "isAgentThread": false,
  "hasPoll": true,
  "commentsCount": 928,
  "likesCount": 419,
  "reactionsCount": 419,
  "resharesCount": 81,
  "collectionsCount": 1071,
  "readCount": 0,
  "giftsCount": 0,
  "replyPermission": "A",
  "replyPermissionLabel": "anyone",
  "ipLocation": "广东",
  "publishedAt": "2025-12-05T23:21:36+08:00",
  "updatedAt": "2026-09-14T17:22:47+08:00",
  "editedAt": "2026-01-23T10:32:53+08:00",
  "coverUrl": "https://img1.doubanio.com/view/group_topic/sqxs/public/p710720260.jpg",
  "photos": [
    "https://img1.doubanio.com/view/group_topic/l/public/p710720260.jpg",
    "https://img9.doubanio.com/view/group_topic/l/public/p710719535.jpg",
    "... 1 more"
  ],
  "video": null,
  "galleryTopic": null,
  "interestTags": [
    {
      "activityLabel": null,
      "cardSubtitle": "1万+篇内容 · 846万次浏览",
      "id": "9938",
      "isPublic": true,
      "name": "女性成长",
      "readCount": 8528750,
      "sharingUrl": "https://www.douban.com/search?q=%23%E5%A5%B3%E6%80%A7%E6%88%90%E9%95%BF%23",
      "title": "女性成长",
      "type": "search_term",
      "url": "https://www.douban.com/search?q=%23%E5%A5%B3%E6%80%A7%E6%88%90%E9%95%BF%23"
    },
    {
      "activityLabel": null,
      "cardSubtitle": "1万+篇内容 · 1亿次浏览",
      "id": "7831",
      "isPublic": true,
      "name": "人气创作计划",
      "readCount": 183038218,
      "sharingUrl": "https://www.douban.com/search?q=%23%E4%BA%BA%E6%B0%94%E5%88%9B%E4%BD%9C%E8%AE%A1%E5%88%92%23",
      "title": "人气创作计划",
      "type": "search_term",
      "url": "https://www.douban.com/search?q=%23%E4%BA%BA%E6%B0%94%E5%88%9B%E4%BD%9C%E8%AE%A1%E5%88%92%23"
    },
    "... 4 more"
  ],
  "anthologies": [],
  "relatedSearchKeyword": null,
  "recommendedSearchKeyword": null,
  "author": {
    "id": "256405994",
    "uid": "256405994",
    "name": "∞的自行车",
    "url": "https://www.douban.com/people/256405994/",
    "avatar": "https://img9.doubanio.com/icon/up256405994-4.jpg",
    "gender": "female",
    "location": "Andorra",
    "registeredAt": "2022-04-29T09:19:45+08:00",
    "followersCount": null,
    "isClub": false,
    "isGroupManager": false,
    "isBanned": false,
    "isReadOnly": false,
    "isVerified": null,
    "verifyType": null,
    "verifyTitle": null,
    "badgeIcon": null,
    "medals": []
  },
  "authorTopicCount": 0,
  "groupId": "740472",
  "groupName": "平凡女性生存手册",
  "groupUrl": "https://www.douban.com/group/740472/",
  "groupMembers": 52595,
  "groupMemberTitle": "大女人",
  "groupTopicCount": 10678,
  "groupEliteCount": 262,
  "groupCategory": "生活",
  "groupDescription": "我们是平凡女性（含低收入群体），我们也是互帮互助的姐妹会。希望本组能够帮助在生活中遇到困难的女性脱离贫困和信息茧房。本组将作为一个纯女性生存互助的交流平台。\n\n\n进组要求-新版：账号6月以上，无其他组拒绝违禁记录（如果有可以私信管理员告知原因），主页管理员能看到的有动态，动态无辱女言论，正常个人号而非广告号\n🖍🖍🖍进组请认真阅读组规🖍🖍🖍进组暗号在组规里https://www.douban.com/group/topic/340933844/",
  "groupRules": "1 本组发言禁止非常见的缩写，首字母 2 本组禁止推广自媒体，课程，广告和交友群 3 本组不欢迎【不平凡】的言论 4 通常意义下违规贴/回复都算违规行为 5 请勿发布《社区指导原则》不允许的内容",
  "groupSlogan": "姐姐妹妹站起来",
  "groupSubtitle": "最近更新: 感觉自己没有家了，春节 中秋 国庆等节假日不想回家，可以去哪里",
  "groupCreatedAt": "2023-10-16T12:26:30+08:00",
  "groupAvatar": "https://img1.doubanio.com/view/group/medium/public/12aad4c193f3869.jpg",
  "groupOwner": {
    "id": "192510900",
    "uid": "192510900",
    "name": "撸啦撸啦",
    "url": "https://www.douban.com/people/192510900/",
    "avatar": "https://img9.doubanio.com/icon/up192510900-4.jpg",
    "gender": "female",
    "location": "武汉",
    "registeredAt": "2019-02-27T16:44:39+08:00",
    "followersCount": null,
    "isClub": false,
    "isGroupManager": null,
    "isBanned": false,
    "isReadOnly": false,
    "isVerified": null,
    "verifyType": null,
    "verifyTitle": null,
    "badgeIcon": null,
    "medals": []
  },
  "groupJoinType": "R",
  "groupJoinPolicy": "join request needs approval",
  "groupIsOfficial": false,
  "scrapedAt": "2026-09-16T05:48:01+00:00",
  "replies": [
    {
      "replyId": "6281176662",
      "content": "收到 感谢🥹",
      "votes": 1,
      "reactionText": null,
      "ipLocation": "陕西",
      "publishedAt": "2025-12-05T23:23:04+08:00",
      "author": {
        "id": "176486044",
        "uid": "luenchanted",
        "name": "玻璃晴朗🎐",
        "url": "https://www.douban.com/people/luenchanted/",
        "avatar": "https://img9.doubanio.com/icon/up176486044-5.jpg",
        "gender": "female",
        "location": "Ulan Bator",
        "registeredAt": "2018-04-05T14:30:25+08:00",
        "followersCount": null,
        "isClub": false,
        "isGroupManager": false,
        "isBanned": false,
        "isReadOnly": false,
        "isVerified": false,
        "verifyType": 0,
        "verifyTitle": null,
        "badgeIcon": null,
        "medals": []
      },
      "isFromAuthor": null,
      "parentReplyId": null,
      "quotedReplyId": null,
      "quotedContent": null,
      "quotedAuthor": null,
      "mentions": [],
      "photos": [],
      "isFolded": false,
      "isDeleted": false,
      "isDisabled": false
    },
    {
      "replyId": "6281186613",
      "content": "觉得有用的姐妹可以dd一下🥺让更多有需要的姐妹看到",
      "votes": 1,
      "reactionText": null,
      "ipLocation": "广东",
      "publishedAt": "2025-12-05T23:29:32+08:00",
      "author": {
        "id": "256405994",
        "uid": "256405994",
        "name": "∞的自行车",
        "url": "https://www.douban.com/people/256405994/",
        "avatar": "https://img9.doubanio.com/icon/up256405994-4.jpg",
        "gender": "female",
        "location": "Andorra",
        "registeredAt": "2022-04-29T09:19:45+08:00",
        "followersCount": null,
        "isClub": false,
        "isGroupManager": false,
        "isBanned": false,
        "isReadOnly": false,
        "isVerified": false,
        "verifyType": 0,
        "verifyTitle": null,
        "badgeIcon": null,
        "medals": []
      },
      "isFromAuthor": null,
      "parentReplyId": null,
      "quotedReplyId": null,
      "quotedContent": null,
      "quotedAuthor": null,
      "mentions": [],
      "photos": [],
      "isFolded": false,
      "isDeleted": false,
      "isDisabled": false
    },
    "... 3 more"
  ]
}
```

#### Group profile example

```json
{
  "type": "group",
  "groupId": "740472",
  "name": "平凡女性生存手册",
  "url": "https://www.douban.com/group/740472/",
  "sharingUrl": "https://www.douban.com/doubanapp/dispatch?uri=%2Fgroup%2F740472",
  "avatar": "https://img1.doubanio.com/view/group/medium/public/12aad4c193f3869.jpg",
  "description": "我们是平凡女性（含低收入群体），我们也是互帮互助的姐妹会。希望本组能够帮助在生活中遇到困难的女性脱离贫困和信息茧房。本组将作为一个纯女性生存互助的交流平台。\n\n\n进组要求-新版：账号6月以上，无其他组拒绝违禁记录（如果有可以私信管理员告知原因），主页管理员能看到的有动态，动态无辱女言论，正常个人号而非广告号\n🖍🖍🖍进组请认真阅读组规🖍🖍🖍进组暗号在组规里https://www.douban.com/group/topic/340933844/",
  "rules": "1 本组发言禁止非常见的缩写，首字母 2 本组禁止推广自媒体，课程，广告和交友群 3 本组不欢迎【不平凡】的言论 4 通常意义下违规贴/回复都算违规行为 5 请勿发布《社区指导原则》不允许的内容",
  "slogan": "姐姐妹妹站起来",
  "subtitle": "最近更新: 感觉自己没有家了，春节 中秋 国庆等节假日不想回家，可以去哪里",
  "category": "生活",
  "memberCount": 52595,
  "memberTitle": "大女人",
  "topicCount": 10678,
  "eliteCount": 262,
  "hotTopicCount": 0,
  "createdAt": "2023-10-16T12:26:30+08:00",
  "owner": {
    "id": "192510900",
    "uid": "192510900",
    "name": "撸啦撸啦",
    "url": "https://www.douban.com/people/192510900/",
    "avatar": "https://img9.doubanio.com/icon/up192510900-4.jpg",
    "gender": "female",
    "location": "武汉",
    "registeredAt": "2019-02-27T16:44:39+08:00",
    "followersCount": null,
    "isClub": false,
    "isGroupManager": null,
    "isBanned": false,
    "isReadOnly": false,
    "isVerified": null,
    "verifyType": null,
    "verifyTitle": null,
    "badgeIcon": null,
    "medals": []
  },
  "joinType": "R",
  "joinPolicy": "join request needs approval",
  "joiningGuide": "欢迎你来平凡女性生存手册小组",
  "postGuide": "组员你好，发言前请先了解本组最新的发言规则",
  "isOfficial": false,
  "isSubjectGroup": false,
  "isReadOnly": false,
  "allowsSubscribe": true,
  "allowsVideo": true,
  "allowsGallery": true,
  "allowsDownvotes": false,
  "tabs": [
    {
      "id": "139266",
      "name": "经验分享",
      "rule": "资源共享站，信息布告栏，具体技能实操，强身健体，思想觉醒"
    },
    {
      "id": "139533",
      "name": "寻求建议",
      "rule": "工作/学习/实操生活技巧等方面遇到的困难请发布在该区。请将问题简述在标题。只是发泄情绪的内容请发布在树洞楼。"
    },
    "... 2 more"
  ],
  "tags": [
    {
      "id": "139266",
      "name": "经验分享",
      "topicCount": 2591,
      "rule": "资源共享站，信息布告栏，具体技能实操，强身健体，思想觉醒"
    },
    {
      "id": "139533",
      "name": "寻求建议",
      "topicCount": 9183,
      "rule": "工作/学习/实操生活技巧等方面遇到的困难请发布在该区。请将问题简述在标题。只是发泄情绪的内容请发布在树洞楼。"
    },
    "... 2 more"
  ],
  "searchSuggestion": "湖北是全国焦虑率最高的地方",
  "scrapedAt": "2026-09-16T05:48:07+00:00"
}
```

#### Member example

```json
{
  "type": "member",
  "memberId": "274142791",
  "uid": "274142791",
  "name": "chillcherry",
  "url": "https://www.douban.com/people/274142791/",
  "avatar": "https://img1.doubanio.com/icon/up274142791-10.jpg",
  "gender": "female",
  "location": null,
  "registeredAt": "2023-09-06T05:54:43+08:00",
  "role": 1002,
  "roleLabel": "manager",
  "isSupervisor": false,
  "isInvitedManager": false,
  "weeklyTopicCount": 0,
  "isBanned": false,
  "isReadOnly": false,
  "isClub": false,
  "groupId": "740472",
  "groupName": "平凡女性生存手册",
  "groupUrl": "https://www.douban.com/group/740472/",
  "scrapedAt": "2026-09-16T05:47:23+00:00"
}
```

### Advanced usage

Ready-made configurations for community research, consumer sentiment, audience analysis and LLM training corpora.

#### Community research: one group, every discussion and its replies

```json
{
  "startUrls": ["https://www.douban.com/group/740472/"],
  "discussionSort": "all",
  "maxDiscussions": 5000,
  "includeReplies": true,
  "maxReplies": 200
}
```

#### Audience analysis: members of several groups

```json
{
  "startUrls": [
    "https://www.douban.com/group/740472/",
    "https://www.douban.com/group/727449/"
  ],
  "groupContent": ["members", "profile"],
  "maxMembers": 20000
}
```

#### Topic monitoring: one tag inside a group

```json
{
  "startUrls": ["https://www.douban.com/group/740472/"],
  "groupContent": ["discussions"],
  "tags": ["经验分享"],
  "maxDiscussions": 200
}
```

### Schedule Douban group runs and connect your tools

Run a group **daily** with `discussionSort` set to `new` to follow fresh discussions, and keep rows whose `topicId` you have not stored yet. Member lists change slowly, so **monthly** is enough.

Send each finished run to **Google Sheets**, **Make**, **Zapier** or **n8n**, trigger a **webhook** when it completes, or pull the dataset with the Apify API and the Python or JavaScript client.

How to run the scraper and put it on a schedule (official Apify videos):

https://www.youtube.com/watch?v=1OW8gOqlZbY

https://www.youtube.com/watch?v=1jI7WcVQmwM

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

**$4.99 per 1,000 discussions.** Replies are included at no extra charge.

| What you collect | Per 1,000 |
|------------------|-----------|
| Discussions with replies | $4.99 |
| Group profiles | $3.99 |
| Members | $1.99 |

Apify plans with Store discounts pay less, down to $3.99, $2.99 and $1.49 per 1,000.

Set a maximum cost per run in the Apify Console; the run stops once it is reached.

### FAQ

**What is a Douban group (豆瓣小组)?**
Douban (豆瓣, at douban.com) is China's reviews and interest community, and its groups (小组) are its forums: tens of thousands of them, from city rental boards to book clubs and support communities.

Each group has discussions with reply threads, its own tags and rules, and a member list. This actor collects all three.

**How many discussions can I get from one group?**
With `discussionSort` set to `all`, most of the group: 9,706 of one group's 10,675 discussions in testing, by combining newest, popular, featured and every tag.

The newest order alone stops after about 300, which is what Douban shows a visitor in that view.

**Can I find discussions without knowing the group?**
Yes, and this is what sets the actor apart. Put keywords in `discussionKeywords` and it collects discussions that mention them from every Douban group at once: 1,003 for 蜜雪冰城, 999 for 抑郁症, 644 for 租房 in testing, spread over hundreds of groups.

Douban matches every word of a keyword, so 小米SU7 also returns posts about 小米 alone. `discussionOrder` decides what a shorter run keeps: `best` for research, `new` for monitoring.

**Can I really get every member?**
Yes. The member list pages to the end: 52,595 members in the test group, managers first.

Set **Max members** to control how many you collect and what the run costs.

**Is there an official Douban API for groups?**
Not for new developers: Douban closed its public developer API years ago.

This actor returns discussions, members and group profiles as structured JSON you can download or pull with the Apify API.

**Can I filter discussions by tag?**
Yes. Put the tag names in `tags`, exactly as Douban shows them, for example 经验分享. The group's tags are listed in its group profile row.

Note that a tag's discussion count on Douban includes deleted discussions, so a tag can serve fewer than it advertises.

**Can I get the newest discussions first?**
Set `discussionSort` to `new`. Douban shows visitors about 300 discussions in that order, so use `all` for depth and `new` for freshness.

**Do replies cost extra?**
No. Replies are attached to the discussion row at no extra charge, with author, votes, IP location and photos.

**Can I also get movie, book and music data?**
Not in this actor. [Douban Scraper](https://apify.com/zen-studio/douban-scraper) collects title details and short comments, and [Douban Reviews Scraper](https://apify.com/zen-studio/douban-reviews-scraper) collects long-form reviews with a star filter.

**Why is the text in Chinese?**
Douban is a Chinese-language platform, and the actor keeps the original text. Translate it afterwards with DeepL, Google Translate or an LLM if needed.

**Why don't Douban image links open in my browser?**
Douban only serves its images to visitors coming from Douban pages. Download them with the Referer header set to `https://www.douban.com/`.

**How do I export the data?**
Download JSON, CSV, Excel, XML or HTML from the run's Storage tab, or use the Apify API. JSON keeps nested fields such as `author`, `tags` and `replies` intact.

**How fresh is the data?**
It is collected live when the run starts. Every row has a `scrapedAt` timestamp.

**What happens with private groups or deleted discussions?**
The run logs a short warning, skips them and continues. Skipped items are not charged.

**Is it legal to scrape Douban groups?**
The actor collects publicly available data only. Member names, locations and profile links are personal data.

You are responsible for complying with Douban's terms and data protection laws, including GDPR, CCPA and China's PIPL.

### More Zen Studio scrapers for Chinese platforms

**🎬 Short-video & social**

- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-bQs2vUPAj8qDbK7EV-bMB0MSMGRY-douban-scraper-logo.png" width="16" height="16" alt="Douban 豆瓣 scraper icon" style="vertical-align:middle;border-radius:3px"> **Douban 豆瓣**
  - [Douban Scraper](https://apify.com/zen-studio/douban-scraper)
  - [Douban Reviews Scraper](https://apify.com/zen-studio/douban-reviews-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-wsZZkHvCzyyfZQdaJ-1H1H3xrBpO-weibo-scraper-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Weibo 微博**
  - [Weibo Comments Scraper](https://apify.com/zen-studio/weibo-comments-scraper)
  - [Weibo Search Scraper](https://apify.com/zen-studio/weibo-search-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-YOq90GHMVnTe8qtHO-UAXIIQ87Oj-zhihu-scraper-logo.png" alt="Zhihu 知乎 scraper" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Zhihu 知乎**
  - [Zhihu Scraper](https://apify.com/zen-studio/zhihu-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-CYLXgIAUzINmhWnzw-Cov56uxElo-kuaishou-scraper-logo.jpg" width="16" height="16" alt="Kuaishou 快手 scraper icon" style="vertical-align:middle;border-radius:3px"> **Kuaishou 快手**
  - [Kuaishou Scraper](https://apify.com/zen-studio/kuaishou-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-3TJaaOJDU1AMiOoJM-Vu2eVr0P6N-douyin-profile-scraper-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Douyin 抖音**
  - [Douyin Search Scraper](https://apify.com/zen-studio/douyin-search-scraper)
  - [Douyin Profile Scraper](https://apify.com/zen-studio/douyin-profile-scraper)
  - [Douyin Video Scraper](https://apify.com/zen-studio/douyin-video-scraper)
  - [Douyin Comments Scraper](https://apify.com/zen-studio/douyin-comments-scraper)
  - [Douyin Transcripts Scraper](https://apify.com/zen-studio/douyin-transcripts-scraper)
  - [Douyin Creator Rankings Scraper](https://apify.com/zen-studio/douyin-xingtu-rankings-scraper)
  - [Douyin Live Recorder](https://apify.com/zen-studio/douyin-live-recorder)
  - [Douyin Hot Search Scraper](https://apify.com/zen-studio/douyin-hot-search-scraper)
  - [Douyin Product Search Scraper](https://apify.com/zen-studio/douyin-product-search-scraper)
  - [Douyin User Search Scraper](https://apify.com/zen-studio/douyin-user-search-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-mHKEEgoDqr6btQQer-fUs5ZquIeN-xiaohongshu-search-scraper-logo-square.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **RedNote 小红书**
  - [RedNote User Profile Scraper](https://apify.com/zen-studio/rednote-user-profile-scraper)
  - [RedNote Search Scraper](https://apify.com/zen-studio/rednote-search-scraper)
  - [RedNote Comments Scraper](https://apify.com/zen-studio/rednote-comments-scraper)
  - [RedNote Product Search Scraper](https://apify.com/zen-studio/rednote-product-search-scraper)
  - [RedNote Note Detail Scraper](https://apify.com/zen-studio/rednote-note-detail-scraper)
  - [RedNote Product Reviews Scraper](https://apify.com/zen-studio/rednote-product-reviews-scraper)
  - [RedNote Live Recorder](https://apify.com/zen-studio/rednote-live-recorder)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-dexCSKEZtKS8hg4fT-lD4weyiYga-shigua-____-scraper-logo.jpg" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Xigua 西瓜视频**
  - [Xigua Video Search Scraper](https://apify.com/zen-studio/xigua-video-search-scraper)
  - [Xigua Video Detail Scraper](https://apify.com/zen-studio/xigua-video-detail-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-oSxuPDE1h3HAsHZSu-x3uV98mgTe-bilibili-scraper-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Bilibili 哔哩哔哩**
  - [Bilibili Video Scraper](https://apify.com/zen-studio/bilibili-video-scraper)
  - [Bilibili Danmaku Scraper](https://apify.com/zen-studio/bilibili-danmaku-scraper)

**🛒 E-commerce**

- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-LwARSYSMWLBZfXfdr-FrDaNbQarB-shopee-scraper-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Shopee**
  - [Shopee Product Detail Scraper](https://apify.com/zen-studio/shopee-product-detail-scraper)
  - [Shopee Product Reviews Scraper](https://apify.com/zen-studio/shopee-product-reviews-scraper)
  - [Shopee Product Scraper](https://apify.com/zen-studio/shopee-product-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-PsAKYWM55HG4AHXjK-ItywU7Bp0s-taobao-search-scraper-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Taobao 淘宝**
  - [Taobao Search Scraper](https://apify.com/zen-studio/taobao-search-scraper)
  - [Taobao Product Detail Scraper](https://apify.com/zen-studio/taobao-detail-scraper)
  - [Taobao Seller Products Scraper](https://apify.com/zen-studio/taobao-seller-products-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-uZy6tbKLKnSVtT4BN-emXnT123uR-jd-com-scraper-logo-square.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **JD.com 京东**
  - [JD.com Search Scraper](https://apify.com/zen-studio/jd-com-search-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-ghXSMZcW3GxsCrkiR-5hnvsKv4Yt-1688-wholesale-scraper-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **1688 阿里巴巴**
  - [1688 Wholesale Scraper](https://apify.com/zen-studio/1688-wholesale-scraper)
  - [Alibaba Scraper](https://apify.com/zen-studio/alibaba-scraper)
  - [1688 Reviews Scraper](https://apify.com/zen-studio/1688-reviews-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-eab843E8WtuH7V3oz-a9TgvZnNOZ-weidian-scraper-icon.png" width="16" height="16" alt="Weidian 微店 scraper icon" style="vertical-align:middle;border-radius:3px"> **Weidian 微店**
  - [Weidian Scraper](https://apify.com/zen-studio/weidian-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-5QcLc4BHaLMBUKYs3-f3CWQ60Row-goofish-search-scraper-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Goofish 闲鱼**
  - [Goofish (Xianyu) Search Scraper](https://apify.com/zen-studio/goofish-xianyu-search-scraper)
  - [Goofish (Xianyu) Seller Scraper](https://apify.com/zen-studio/goofish-xianyu-seller-scraper)
  - [Goofish (Xianyu) Item Detail Scraper](https://apify.com/zen-studio/goofish-xianyu-item-detail-scraper)
  - [Goofish (Xianyu) Item Comments & Q\&A Scraper](https://apify.com/zen-studio/goofish-xianyu-item-comments-scraper)
  - [Goofish (Xianyu) Reverse Image Search Scraper](https://apify.com/zen-studio/goofish-xianyu-visual-search-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-0hS9yNh3RU8DC6puG-LozxRJkdHN-coupang-review-scraper-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Coupang 쿠팡**
  - [Coupang Review Scraper](https://apify.com/zen-studio/coupang-review-scraper)
  - [Coupang Search Scraper](https://apify.com/zen-studio/coupang-search-scraper)
  - [Coupang Product Detail Scraper](https://apify.com/zen-studio/coupang-detail-scraper)

**🏠 Real estate & autos**

- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-1tAzNSf8Kz0v7Q2Lr-AINJ7FsZVU-anjuke-scraper-logo.jpg" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Anjuke 安居客**
  - [Anjuke For-Sale Listings Scraper](https://apify.com/zen-studio/anjuke-real-estate-scraper)
  - [Anjuke New-Home Scraper](https://apify.com/zen-studio/anjuke-new-home-scraper)
  - [Anjuke Rental Listings Scraper](https://apify.com/zen-studio/anjuke-rent-scraper)
  - [Anjuke Listing Detail Scraper](https://apify.com/zen-studio/anjuke-sale-detail-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-32OkWqsiUywoq2ci3-7JhFlW1qg3-58__-real-estate-scraper-logo.jpg" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **58.com 58同城**
  - [58.com Real Estate Scraper](https://apify.com/zen-studio/58-real-estate-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-ytaE4YpSmjXDmibPv-L1UMPHa2bO-che168-autohome-scraper-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Autohome 汽车之家**
  - [Autohome (Che168) Used-Car Scraper](https://apify.com/zen-studio/che168-car-scraper)

### Support

- **Bugs**: Issues tab
- **Features**: Issues tab

### Legal Compliance

Extracts publicly available data. Users must comply with Douban terms and data protection regulations (GDPR, CCPA, PIPL).

***

*Douban group discussions, members and group profiles as structured JSON.*

# Actor input Schema

## `startUrls` (type: `array`):

Add any mix of Douban links:<br>• <b>Group</b>: <code>https://www.douban.com/group/740472/</code><br>• <b>Single discussion</b>: <code>https://www.douban.com/group/topic/499747962/</code><br><br>Groups with a name instead of a number work too, e.g. <code>https://www.douban.com/group/beijing/</code>.<br><br>Up to 1,000 links per run.

## `discussionKeywords` (type: `array`):

Enter keywords to collect Douban group discussions that mention them, from every group at once. No link needed.<br><br>Matches the full text of a discussion, not just its title, so <code>小米SU7</code> also returns posts that mention it in passing. Around 1,000 discussions per keyword, best matches first by default, each with its group, author, full text and reply threads.<br><br>Tip: Chinese keywords find far more, e.g. <code>租房</code> instead of <code>rent</code>.<br><br>Up to 100 keywords per run.

## `searchQueries` (type: `array`):

Enter keywords to find whole groups, then collect from the best matches. Use <b>Find discussions by keyword</b> instead to collect only the discussions that mention a keyword.<br><br>Tip: Chinese keywords find far more, e.g. <code>租房</code> instead of <code>rent</code>.

## `discussionOrder` (type: `string`):

Applies to <b>Find discussions by keyword</b>. Douban matches every word of a keyword, so <code>小米SU7</code> also returns posts about <code>小米</code> alone: <b>Best match first</b> keeps a short run tight, <b>Newest first</b> suits monitoring. Longer runs collect both orders either way.

## `maxGroups` (type: `integer`):

Set how many of the best matching groups to collect from, per term in <b>Find groups by keyword</b>.

## `groupContent` (type: `array`):

Pick one or more:<br>• <b>Discussions</b>: full text, author, tags, likes and reply threads<br>• <b>Group details</b>: description, rules, category, member and discussion counts, tag tabs, owner<br>• <b>Member list</b>: every member with profile link, join date, location and role. Large groups have tens of thousands, so set <b>Max members</b> to match your budget.

## `discussionSort` (type: `string`):

<b>All discussions</b> combines every order and the group's tags, newest first, for the deepest coverage: 9,706 of a 10,675-discussion group in testing.<br><b>Newest</b> alone stops after about 300.

## `tags` (type: `array`):

Optional. Collect only discussions filed under these group tags, written as Douban shows them, e.g. <code>经验分享</code>. Leave empty for every tag.<br><br>The group's tags are listed in its <b>Group details</b> row.

## `maxDiscussions` (type: `integer`):

Set how many discussions to collect from each group, and from each keyword in <b>Find discussions by keyword</b>. Keep it low for a quick first run.

## `maxMembers` (type: `integer`):

Set how many members to collect from each group, when <b>Member list</b> is selected. Douban lists managers first, then the rest.

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

Turn on to attach the reply thread to every discussion. Replies are included at no extra charge.

## `maxReplies` (type: `integer`):

Set how many replies to attach to each discussion. Only used when <b>Include replies</b> is on.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.douban.com/group/740472/"
  ],
  "discussionOrder": "best",
  "maxGroups": 3,
  "groupContent": [
    "discussions",
    "profile"
  ],
  "discussionSort": "all",
  "maxDiscussions": 20,
  "maxMembers": 1000,
  "includeReplies": false,
  "maxReplies": 100
}
```

# 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 = {
    "startUrls": [
        "https://www.douban.com/group/740472/"
    ],
    "maxDiscussions": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("zen-studio/douban-group-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 = {
    "startUrls": ["https://www.douban.com/group/740472/"],
    "maxDiscussions": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("zen-studio/douban-group-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 '{
  "startUrls": [
    "https://www.douban.com/group/740472/"
  ],
  "maxDiscussions": 20
}' |
apify call zen-studio/douban-group-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zen-studio/douban-group-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/7NIIKWTCMcVzji7Va/builds/r7DebfJcD8evy6Goe/openapi.json
