# 91Porny Video Catalog Scraper (`bovi/91porny-scraper`) Actor

Collect public 91porny.com listing metadata: titles, URLs, durations, thumbnails, and view text. Run with keywords and maxResults; no buyer API key or login required. Pricing: $0.0035 per dataset item + $0.00005 per Actor Start on Free plan.

- **URL**: https://apify.com/bovi/91porny-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 91porny video 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

## 91Porny Video Catalog Scraper

Collects public listing cards from 91porny.com as structured records. You need only your Apify account; no API key or login is required.

- Build an index of listing titles, identifiers, durations, and public URLs.
- Filter by title text with `keywords`, or leave it empty to read the catalog pages.
- Track the publication and view text shown on each card.
- Export the results as JSON or CSV; no video files are downloaded.

### What you get

| Field | Type | Description |
|---|---|---|
| `id` | string | Identifier taken from the public listing URL. |
| `title` | string | Title shown on the public listing card. |
| `url` | string | Public detail page linked from the listing card. |
| `duration` | string | Duration text shown on the listing card, when present. |
| `thumbnail_url` | string | Thumbnail URL exposed by the listing card, when present. |
| `author` | string | Author name shown or linked by the listing card, when present. |
| `published_text` | string | Relative or localized publication text shown by the listing, when present. |
| `views_text` | string | Localized view-count text shown by the listing, when present. |

The required fields are `id`, `title`, and `url`. Optional fields are omitted when the listing card does not show them; `duration`, `thumbnail_url`, and `author` are set only when the card has a non-empty value.

### Sample output

```json
{
  "id": "ccdc207ac5a8813b39e4",
  "title": "[原创]每天都加班的人妻 真的在加班，老公相信我 完整版看详情",
  "url": "https://91porny.com/video/view/ccdc207ac5a8813b39e4",
  "duration": "00:08:54",
  "thumbnail_url": "https://int.ucloud165.xyz/thumb/1255198.jpg",
  "author": "meloa11216607",
  "published_text": "41小时前",
  "views_text": "6.9万次播放"
}
```

### Pricing

This Actor uses Apify pay-per-event billing. The listed charge events are:

| Charge event | Unit | Price (Free plan) |
|---|---|---:|
| `apify-actor-start` | One Actor Start event; charged once per GB of run memory, minimum one event | $0.00005 per event |
| `apify-default-dataset-item` | One scraped result with all fields | $0.0035 per dataset item |

Prices are for the Free plan: 1,000 dataset items cost $3.5, 10,000 cost $35, and 1,000 start events cost $0.05.

The Actor Start event is charged when the Actor starts running. Each saved dataset record is charged as one `apify-default-dataset-item` event. The Actor does not emit custom charge events.

For example, on the Free plan a run that saves 50 results costs 50 x $0.0035 = $0.175 for dataset items, plus one `apify-actor-start` event at $0.00005.

The number of records per run is limited by the pages the Actor reads, not only by `maxResults`; see Limits and edge cases. 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 your Apify account.
2. Enter optional title text in `keywords`, or leave it empty to collect from the public catalog pages.
3. Set `maxResults` to the maximum number of unique records to save.
4. Adjust `proxyConfiguration` if you need different Apify proxy settings.
5. Start the run and inspect the resulting Apify dataset.
6. Repeat the run through Apify Schedules, using daily as a starting point for catalog listings.

Example input (includes the residential proxy setting; an API run that omits `proxyConfiguration` uses no proxy):

```json
{
  "keywords": "",
  "maxResults": 50,
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}
```

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

### Input parameters

| Parameter | What it does | Default |
|---|---|---|
| `keywords` | Optional text searched in public video listing titles. An empty string collects from the public catalog pages. | Empty |
| `maxResults` | Maximum number of unique catalog records to save. | `50` |
| `proxyConfiguration` | Apify proxy settings. The Actor uses a proxy only when `useApifyProxy` is `true`; with the field omitted, or `useApifyProxy` not true, it uses no proxy. | Apify residential proxy (schema default) |

### Limits and edge cases

| Condition | What you see | What to do |
|---|---|---|
| Coverage limit: no pagination | With empty `keywords` the Actor reads only 4 fixed catalog pages; with `keywords` it reads 1 search page. It never follows further pages. | Raising `maxResults` does not add pages. Use different `keywords` to reach other listings, and schedule repeat runs to catch new ones. |
| `maxResults` is not a valid number | The Actor falls back to `50`. | Pass an integer. |
| A listing card has no optional metadata | The record omits the optional fields the card does not show. | Handle missing optional fields downstream. |
| Promotional cards or repeated detail URLs | Promotional cards are skipped, and each URL is saved once. | No action is required. |
| A listing request fails | The failed listing request contributes no records. | Review the run log. |
| A later listing page fails after records were saved | Records already pushed to the dataset remain available, while the failed page contributes no records. | Review the partial dataset and rerun if you need the missing page. |
| `maxResults` is zero or negative | The Actor returns without saving records. | Use a positive integer. |
| A listing card has no valid public detail-page link or title | The card is not saved. | No action is required. |
| The source listing HTML changes | Some cards or fields may not be parsed into records. | Review the output and run again after confirming the source pages expose the expected listing structure. |

### FAQ

#### How much does it cost to scrape 91porny.com?

Each scraped dataset item costs $0.0035 and each `apify-actor-start` event costs $0.00005 on the Free plan.

#### What happens if the dataset is empty?

An empty dataset can occur when no listing cards match the `keywords` search, when the source pages return no valid detail links and titles, or when listing requests fail. Leave `keywords` empty, check the run log, and run again.

#### Why can a run return fewer records than `maxResults`?

`maxResults` is a ceiling, not a guarantee. See the coverage limit in Limits and edge cases: only 4 catalog pages (or 1 search page) are read, and skipped cards reduce the count further.

#### Does this Actor download videos?

No. It reads listing HTML only and returns URLs.

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

The Actor uses public listing data from 91porny.com, but source terms and applicable law depend on your use case. Review the source’s terms and the laws that apply to your intended collection and use of the data.

# Actor input Schema

## `keywords` (type: `string`):

Optional text to search in public video listing titles. Leave empty to collect from the public catalog pages.

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

Maximum number of unique catalog records to save.

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

Optional Apify proxy settings. The actor uses no proxy when this is omitted or useApifyProxy is false.

## Actor input object example

```json
{
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with the scraped catalog 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 = {
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

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

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

```

## MCP server setup

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