# Hongguo Short Drama Scraper: Rankings & Series Data (`bovi/hongguo-scraper`) Actor

Extract short-drama records from Hongguo Duanju. Get rankings, categories, home sections and series details. Run with listings or series IDs; no Hongguo login required. Pricing: $0.0024 per saved result + $0.00005 per Actor Start event.

- **URL**: https://apify.com/bovi/hongguo-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Other, Business
- **Features:** Limited permissions
- **Stats:** 4 total users, 1 monthly users, 94.8% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.40 / 1,000 hongguo short drama scraper: rankings & series data

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Hongguo Short Drama Scraper

Extract structured short-drama data from [Hongguo Duanju](https://hongguoduanju.com/) public pages, including rankings, categories, home sections and series details. Pay per event: on the Free plan, $0.0024 per saved result plus $0.00005 per Actor Start event (see Pricing below).

- Scrape hot, real-drama, AI-drama and comic-drama rankings with positions, heat labels, ratings, favorites and likes.
- Collect Chinese short dramas from the listings you select, with titles, synopses, tags, cast, categories and episode information.
- Track ranking labels and engagement fields for market research and content localization.
- Extract optional detail-page metrics such as numeric ratings, reviews, likes, favorites and hot scores.
- Run without a Hongguo login or cookies.

### What you get

Every saved record includes `seriesId`, `title` and `url`. Other fields appear when the selected source listing provides them.

| Fields | Type | What it contains | Availability |
| --- | --- | --- | --- |
| `seriesId`, `title`, `url`, `playUrl`, `coverUrl` | string | Series identifier, title, public series page, player page and cover image URL | Listing and detail records when provided |
| `description`, `tags`, `categories`, `statusTags` | string; array of strings | Synopsis, genre or theme tags, home-page categories and ranking-card status tags | Page-dependent |
| `episodeCount`, `freeEpisodeCount`, `isPaid`, `episodeVideoIds` | integer; boolean; array of strings | Total episodes, free episodes, paid-content flag and episode video IDs exposed by the site | Category, ranking or detail pages when provided |
| `cast` | array of objects | Actors and their roles, represented as `{name, role}` entries | Category and detail pages when provided |
| `rank`, `position`, `section` | integer; string | Ranking or home-section position, category-list position and source section name | Listing-dependent |
| `heatText`, `scoreText`, `favoriteText`, `likeText` | string | Heat, rating, favorites and likes labels shown on ranking cards | Ranking pages when provided |
| `rating`, `ratingCount`, `likeCount`, `favoriteCount`, `reviewCount`, `rankLabel`, `hotScore`, `hotScoreText` | number; integer; string | Numeric rating, counts, detail-page ranking information and numeric or labelled hot score | Detail-page data |
| `publishedAt`, `source`, `scrapedAt` | ISO 8601 string; string | Series visibility timestamp, source listing and ISO extraction timestamp | When supplied by the source or Actor |

### Sample output

One record from a successful `rank/hot-drama` run; description and `episodeVideoIds` are shortened here.

```json
{
  "seriesId": "7698294694886788121",
  "title": "和离后我带女儿横扫魔域",
  "url": "https://hongguoduanju.com/detail?series_id=7698294694886788121",
  "playUrl": "https://hongguoduanju.com/player/7698294694886788121",
  "description": "陆清安曾是威震诸天的永夜魔帝，功成名就后，他选择回归烟火生活，与家人共度温暖岁月。一次人生转折，让他带着两个女儿重返魔域，也由此开启一段轻松热闹的新旅程。",
  "tags": ["玄幻", "系统", "异界"],
  "episodeCount": 1000,
  "freeEpisodeCount": 10,
  "isPaid": false,
  "episodeVideoIds": ["7698309376561400856", "7698308981902543896", "7698308055590521880"],
  "rank": 1,
  "heatText": "9388万热度",
  "scoreText": "评分9.0",
  "favoriteText": "428.5万收藏",
  "likeText": "1409.7万点赞",
  "source": "rank/hot-drama",
  "scrapedAt": "2026-10-30T06:45:26.760582+00:00"
}
```

### Pricing

Pay-per-event billing: you pay only for the events below, with no separate compute, proxy or storage charge.

| Charge event | Billing unit | Free-plan price | Description |
| --- | --- | --- | --- |
| Actor Start | One event when the Actor starts | $0.00005 per event on the Free plan | One event per GB of Actor memory, minimum one |
| Dataset item | One saved result | $0.0024 per event on the Free plan | One scraped result with all fields |

On the Free plan: 1,000 x $0.0024 = $2.40 and 10,000 x $0.0024 = $24.00 for dataset-item events.

For example, 2,000 x $0.0024 = $4.80 on the Free plan, before the Actor Start event. The Free plan includes $5 of monthly platform usage credit.

### How to use

1. **Choose** one or more `listings`, such as `rank/hot-drama`, `category/real-drama` or `home`, and/or specific `seriesIds`.
2. **Enable** `includeDetails` if you need detail-page metrics, and set `maxResults`.
3. **Run** it and export the dataset as JSON or CSV, or read it through the Apify dataset API.
4. **Schedule** the run with Apify Schedules; daily suits recurring rankings.

Example input:

```json
{
  "listings": ["rank/hot-drama", "category/real-drama"],
  "includeDetails": true,
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

### Input parameters

| Parameter | What it does | Default |
| --- | --- | --- |
| `listings` | Array of pages to scrape. Supported values are `home`, `rank/hot-drama`, `rank/hot-real-drama`, `rank/hot-ai-drama`, `rank/hot-comic-drama`, `category/real-drama`, `category/comic-drama`, `category/ai-drama` and `category/comic`. | `["rank/hot-drama"]` |
| `seriesIds` | Array of specific series IDs to fetch from their detail pages. | Not set |
| `includeDetails` | Opens each listing record’s detail page when needed and adds rating, rating count, likes, favorites, review count, rank label and hot score. | `false` |
| `maxResults` | Maximum number of series records to save. The Actor returns without records when the value is zero or negative; the input schema requires at least `1`. | `50` |
| `proxyConfiguration` | Controls Apify proxy use. Set `useApifyProxy` to `true` to create an Apify proxy configuration, or `false` to connect directly. | Apify proxy, group `RESIDENTIAL` |

### Limits and edge cases

| Condition | What you see | What to do |
| --- | --- | --- |
| More than one listing contains the same series | The series is saved once by `seriesId`, rather than once per listing occurrence. | Use the `source` field to identify the listing that produced the saved record. |
| `includeDetails` is enabled and a detail request fails | The base listing record is saved without the additional detail fields, and a warning is written to the run log. | Check the run log and retry with the default proxy configuration if needed. |
| `includeDetails` is enabled and the detail page returns no record | The base listing record is saved without the additional detail fields. No warning is logged. | Compare the saved fields with the detail fields you expect. |
| An unsupported listing value is supplied | The value is skipped and a warning lists the allowed values. | Use one of the supported listing values in the input schema. |
| Rankings have up to 5 pages (100 series) and categories up to 34 pages (about 800 series) | A listing cannot return more than its pages hold, even if `maxResults` is higher. Coverage of the whole site is not proven. | Combine several listings or add `seriesIds`. |
| `includeDetails` is enabled | One extra request per record, so runs are slower. | Enable it only when you need the detail fields. |
| No records are collected | The run ends as an error because all requests failed or returned no data. | Check the run log and the listing values. |
| `maxResults` is reached | The Actor stops saving records once `maxResults` is reached. | Increase `maxResults`. |

### FAQ

#### How much does it cost to scrape Hongguo short dramas?

See the Pricing table: a Dataset item event per saved result plus an Actor Start event.

#### What happens if a run returns no records?

The run ends as an error and the log says why. Check it for failed pages or unsupported listing values.

#### What should I do if the Actor is not working?

Review the run log for failed pages, changed page data and unsupported listing values, then retry with an allowed listing and the default proxy.

#### Why are some detail fields missing?

`rating`, `ratingCount`, `likeCount`, `favoriteCount`, `reviewCount`, `rankLabel` and `hotScore` are filled only with `includeDetails` or `seriesIds`. The `heatText`, `scoreText`, `favoriteText` and `likeText` labels appear only for ranking listings. Titles, synopses and labels are in Chinese, and 万 means 10,000.

#### Is it legal to use data from Hongguo Duanju?

The Actor reads public data from public Hongguo Duanju pages. Whether a particular use is legal or allowed depends on the source terms, applicable law and your use case; review those requirements before using the exported data. This Actor does not provide a legal guarantee.

### Usage statistics

This Actor creates a small, content-free summary at the end of each run, used only to monitor reliability and improve this Actor. No input values, credentials or scraped data are sent.

A copy of the exact record for your run is saved as `USAGE_STATS` in your own Apify key-value store.

To opt out, set `disableUsageStats` to `true` in the input. Nothing is sent then.

[Full list of collected fields](https://api.apify.com/v2/key-value-stores/v9rgHjMKLDGtHf8tD/records/index.html)

# Actor input Schema

## `listings` (type: `array`):

Listing pages of hongguoduanju.com, one per line. Allowed values: home, rank/hot-drama, rank/hot-real-drama, rank/hot-ai-drama, rank/hot-comic-drama, category/real-drama, category/comic-drama, category/ai-drama, category/comic. Rankings have up to 5 pages (100 series), categories up to 34 pages.

## `seriesIds` (type: `array`):

Specific series IDs to fetch from their detail pages (adds rating, likes, favorites, hot score).

## `includeDetails` (type: `boolean`):

Open each series detail page to add rating, rating count, likes, favorites, review count, rank label and hot score. Slower: one extra request per record.

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

Maximum number of series records to collect.

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

Optional. The site is reachable with the default Apify proxy; disable the proxy to connect directly.

## Actor input object example

```json
{
  "listings": [
    "rank/hot-drama"
  ],
  "includeDetails": false,
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with the scraped records.

# 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 = {
    "listings": [
        "rank/hot-drama"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/hongguo-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 = {
    "listings": ["rank/hot-drama"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/hongguo-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 '{
  "listings": [
    "rank/hot-drama"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/hongguo-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/hongguo-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/EREZqI1deHgHuIlUN/builds/NtqkVa1brsJSBYwVQ/openapi.json
