# 52Shuku Novel Catalog Scraper (`bovi/52shuku-scraper`) Actor

Collect 52shuku novel listings from homepage or category pages. Get titles, URLs, categories, authors, statuses, summaries, and update dates when shown. Run with startUrls; no login. Pricing: $0.0035 per result and $0.00005 per Actor start event.

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

## Pricing

from $3.50 / 1,000 52shuku novel catalog scrapers

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

## 52Shuku Novel Catalog Scraper

Enter public homepage or category URLs from 52shuku.net to collect novel listings without signing in. Pricing is pay-per-event: $0.0035 per result on the Free plan, plus a small per-run start event (details in Pricing).

- Collect homepage or public category listings without signing in to 52shuku.
- Build catalog datasets with titles, authors, categories, and completion labels for research.
- Extract visible summaries and update dates for catalog discovery.
- Deduplicate listings by book URL across input pages and stop at the configured result limit.
- Optionally provide an Apify Proxy configuration; only an Apify account is needed.

### What you get

The Actor reads listing cards from the 52shuku homepage and public category pages. Category pages can be followed through their visible next-page links. Each saved record always includes `id`, `title`, `url`, and `category`; the other fields are included when the listing page provides them.

| Field | Type | Description | Availability |
|---|---|---|---|
| `id` | string | Book ID derived from the listing URL path. | Required; emitted for saved records |
| `title` | string | The site's visible display title, including an author or status suffix when present. | Required; emitted for saved records |
| `url` | string | Canonical book listing URL. | Required; emitted for saved records |
| `category` | string | Category path value derived from the listing URL. | Required; emitted for saved records |
| `author` | string | Author extracted from the listing information or title. | Optional; omitted when not shown |
| `status` | string | Completion or status label from the title, such as `完结` or `完结+番外`. | Optional; omitted when not shown |
| `description` | string | Summary text shown in the listing card. | Optional; omitted when not shown |
| `updated_at` | string | Displayed update date when a date is found on the listing page. | Optional; omitted when not shown |

Optional keys are omitted when the corresponding value is not shown, rather than written as `null` or an empty string. The Actor emits catalog metadata and summaries, not chapter text.

### Sample output

Example record from a homepage run. Optional fields not shown on the card are not added; category-page records can also carry `description` and `updated_at`.

```json
{
  "id": "bkfLt",
  "title": "反派雄虫是硬核万人迷[虫族]_青蛙呱太【完结+番外】",
  "url": "https://www.52shuku.net/jiakong/05_b/bkfLt.html",
  "category": "jiakong",
  "author": "青蛙呱太",
  "status": "完结+番外"
}
```

### Pricing

This Actor uses pay-per-event pricing. The live Free-plan event prices are:

| Event | What it represents | Free-plan price |
|---|---|---:|
| `apify-actor-start` | One event per GB of run memory, minimum one. | $0.00005 per event on the Free plan |
| `apify-default-dataset-item` | One saved scraped result with all populated fields. | $0.0035 per result on the Free plan |

On the Free plan: 1,000 x $0.0035 = $3.50, and 10,000 x $0.0035 = $35.00 (start event not included).

The Apify Free plan includes **$5 of monthly platform usage credit**. On the Free plan, that $5 covers 1,428 results at 1 GB of run memory or less (one start event).

You pay only for the events listed above. This Actor does not use the Pay per event + usage option, so the platform usage of your runs (compute, proxy traffic and storage) is not billed to you separately.

### How to use

1. **Open** the Actor in Apify and review the input fields.
2. **Enter** one or more homepage or public category URLs from `52shuku.net` in `startUrls`.
3. **Set** `maxResults` to the maximum number of unique book URLs to save across all input URLs.
4. **Optionally provide** an Apify Proxy configuration.
5. **Run** the Actor. It reads the listing pages, follows visible next-page links on category pages, removes duplicate book URLs, and stops when it reaches `maxResults`.
6. **Inspect** the resulting dataset and verify which optional fields were present on the source listing cards.
7. **Repeat** the run through Apify Schedules; daily is a starting point for listing collection.

```json
{
  "startUrls": [
    {
      "url": "https://www.52shuku.net/chongsheng/"
    }
  ],
  "maxResults": 50
}
```

Export the dataset as JSON or CSV, or read it through the Apify dataset API.

### Input parameters

| Parameter | What it does | Default |
|---|---|---|
| `startUrls` (array) | Required list of homepage or public category listing URLs on `52shuku.net`. |  |
| `maxResults` (integer) | Maximum number of unique novel listings to save across all input URLs. | `50` |
| `proxyConfiguration` (object) | Optional Apify Proxy settings. Schema default: Apify Proxy, RESIDENTIAL group |

Each `startUrls` entry uses an object with a required `url` string. The input form pre-fills the Apify Proxy RESIDENTIAL default. The Actor creates a proxy only when `proxyConfiguration` is present in the run input; if the field is omitted, requests go direct unless the platform applies the schema default. To connect directly, set `useApifyProxy` to `false`.

### Limits and edge cases

| Condition | What you see | What to do |
|---|---|---|
| An input URL is outside `52shuku.net`, uses an unsupported scheme, or cannot be normalized. | That URL is skipped. If no start URL is valid, the Actor falls back to `https://www.52shuku.net/` and still saves and charges for the results it finds. | Supply public homepage or category URLs on `52shuku.net` using `http` or `https` URLs. |
| `maxResults` is zero or negative. | The run ends without saving records. | Use an integer of at least `1`; the input schema sets the minimum to `1`. |
| The same book URL appears on more than one input page. | Only the first occurrence is saved because results are deduplicated by book URL. | Provide the pages you need and set `maxResults` to the number of unique listings you want. |
| A listing card does not show an author, status, summary, or update date. | The corresponding optional key is omitted from that record. | Check whether the key exists before using it. |
| A homepage or category page has no matching listing cards. | The page contributes no records, so the dataset can be empty or contain fewer records than requested. | Check that the URL is a public listing page and try the 52shuku homepage or a valid category listing URL. |
| A category page does not expose a recognized visible next-page link. | The Actor processes the current page but does not discover additional pages from it. | Supply additional category listing URLs when you need to collect more pages. |
| A page fetch fails. | The request is tried up to three times. After the retries fail, the run logs a warning and continues with the next queued page; records already pushed remain in the dataset. | Check the run log and verify the URL before running again. |
| The source page markup does not match the listing patterns used by the Actor. | Matching records may be missing even when the page contains other links or text. | Use the Actor for the supported homepage and category listing-card format; no coverage guarantee is made for other page layouts. |

### FAQ

#### How much does it cost to scrape 52shuku novel listings?

Results cost $0.0035 each on the Free plan; see Pricing for examples.

#### Why did my run return no or fewer listings?

The Actor stops at `maxResults` unique book URLs, skips duplicate URLs, and only saves records parsed from matching listing cards. Optional fields may also be absent when the source card does not show them. Check that `startUrls` contains public 52shuku homepage or category listing pages and that the requested limit is large enough.

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

Review the run log for a page-fetch warning, confirm that the target URL is on `52shuku.net`, and try the run again. The Actor retries a failed page fetch up to three times before continuing to the next queued page.

#### Does the Actor collect complete novel text?

No. It collects catalog metadata and summaries visible in listing cards. It does not collect chapter text.

#### Is scraping this public data legal or allowed?

The Actor reads public homepage and category listing pages from 52shuku.net without signing in. Whether a particular use is legal or allowed depends on the source terms and applicable law for your use case, so review those requirements before using the collected data.

# Actor input Schema

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

52shuku.net homepage or public category listing URLs to collect.

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

Maximum number of novel listings to collect across all start URLs.

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

Optional Apify Proxy settings. Set useApifyProxy to false or omit this field to connect directly.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.52shuku.net/"
    }
  ],
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with the scraped novel listings.

# 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": [
        {
            "url": "https://www.52shuku.net/"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/52shuku-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": [{ "url": "https://www.52shuku.net/" }],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

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

```

## MCP server setup

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