# RuTube Search Scraper (`powerai/rutube-search-scraper`) Actor

Scrape video search results from RuTube.ru with automatic pagination and comprehensive video data extraction including titles, channels, views, and descriptions.

- **URL**: https://apify.com/powerai/rutube-search-scraper.md
- **Developed by:** [PowerAI](https://apify.com/powerai) (community)
- **Categories:** Videos, Social media, Other
- **Stats:** 17 total users, 1 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## 🎬 RuTube Search Scraper

This actor allows you to scrape video search results from RuTube.ru by providing a search URL. It automatically handles pagination and extracts comprehensive video information including titles, channels, views, descriptions, and more.

### Features

- **URL-based Scraping:** Extract videos by providing a complete RuTube search URL
- **Automatic Pagination:** Automatically scrolls and loads more videos until reaching the end or max items limit
- **Comprehensive Video Data:** Extract detailed information about each video including:
  - Video titles and descriptions
  - Video URLs and page URLs
  - Thumbnail images
  - Video duration
  - Channel information (name, URL, avatar)
  - View counts
  - Publish dates
  - Age ratings
- **Smart Deduplication:** Automatically removes duplicate videos based on video URLs

### Input Parameters

| Field      | Type    | Required | Description                                    |
|------------|---------|----------|------------------------------------------------|
| `searchUrl`| string  | Yes      | Complete RuTube search URL to scrape          |
| `maxItems` | integer | No       | Maximum number of videos to fetch (default: unlimited) |
| `proxyConfiguration` | object | No | Proxy settings for the actor |

#### How to Get Search URL

1. Go to [RuTube.ru](https://rutube.ru)
2. Use the search bar to find videos
3. Copy the complete URL from your browser's address bar
4. Paste it into the `searchUrl` field

Example search URL:

```
https://rutube.ru/search/?query=iphone
```

### Output

The output is a dataset of video objects, each containing:

- `searchUrl`: The original search URL used
- `idx`: Index position in the search results
- `videoUrl`: Direct link to the video page
- `image`: URL of the video thumbnail image
- `imageAlt`: Alt text of the thumbnail image
- `duration`: Video duration (e.g., "17:47")
- `title`: Video title
- `pageUrl`: Link to the video page
- `channelTitle`: Name of the channel/author
- `channelUrl`: Link to the channel page
- `channelImage`: URL of the channel avatar image
- `views`: Number of views (integer)
- `publishDateText`: Publish date as text (e.g., "День назад")
- `ageRating`: Age rating (e.g., "12+")
- `description`: Video description
- `scrapedAt`: Timestamp of when the video was scraped

Example output:

```json
[
  {
    "searchUrl": "https://rutube.ru/search/?query=iphone",
    "idx": 0,
    "videoUrl": "https://rutube.ru/video/8fdf909d53efb09ff2005cf3d6f517c0/",
    "image": "https://pic.rutubelist.ru/video/2025-11-10/f5/53/f55307fd338778829bb274878f68fa28.jpg?width=500",
    "imageAlt": "IPHONE 17 PRO MAX vs IPHONE 16 PRO MAX. ЧТО ВЫБРАТЬ в 2025?",
    "duration": "17:47",
    "title": "IPHONE 17 PRO MAX vs IPHONE 16 PRO MAX. ЧТО ВЫБРАТЬ в 2025?",
    "pageUrl": "https://rutube.ru/video/8fdf909d53efb09ff2005cf3d6f517c0/",
    "channelTitle": "ЧЕСТНЫЙ БЛОГ",
    "channelUrl": "https://rutube.ru/channel/31235654/",
    "channelImage": "https://pic.rutubelist.ru/user/e6/3c/e63caf45dab7fa1a156672eb92db8493.jpg?width=40",
    "views": 375,
    "publishDateText": "День назад",
    "ageRating": "12+",
    "description": "✅ Купить Iphone 17 Pro Max...",
    "scrapedAt": "2025-11-11T05:14:05.154Z"
  },
  ...
]
```

### Use Cases

- Video content research and analysis
- Channel performance tracking
- Trending video discovery
- Content catalog building
- Market research for video platforms
- Competitor analysis
- View count and engagement tracking

### Notes

- The actor works with RuTube.ru search results
- Results are saved incrementally as they are found
- All timestamps are in ISO 8601 format
- The actor handles network delays and timeouts gracefully
- View counts are extracted as integers
- Video descriptions may be truncated in search results

### Limitations

- Only works with RuTube.ru search URLs
- Cannot scrape detailed video information from video pages (only listing data)
- Some dynamic content may require additional wait time
- Rate limiting may apply if scraping very large datasets

***

**Start scraping video search results from RuTube today!**

# Actor input Schema

## `searchUrl` (type: `string`):

The complete RuTube search URL to scrape

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

Maximum number of videos to fetch

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

Proxy settings for the actor

## Actor input object example

```json
{
  "searchUrl": "https://rutube.ru/search/?query=iphone",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("powerai/rutube-search-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("powerai/rutube-search-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 '{}' |
apify call powerai/rutube-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,powerai/rutube-search-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/8JuOsH4GT3dxRVSWO/builds/GoFAuyQej5sr0Ndk6/openapi.json
