Skip to content

rubiscmajor/ok-ru-video-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

OK.RU Video Scraper

OK.RU Video Scraper collects structured video search results from OK.RU, enabling detailed analysis of video content performance and trends. It helps analysts, marketers, and researchers turn raw video listings into actionable insights using clean, export-ready data.

Bitbash Banner

Telegram   WhatsApp   Gmail   Website

Created by Bitbash, built to showcase our approach to Scraping and Automation!
If you are looking for ok-ru-video-scraper you've just found your team — Let’s Chat. 👆👆

Introduction

This project extracts video search results from OK.RU based on user-defined keywords and limits. It solves the challenge of manually tracking video performance by providing structured metadata at scale. It is designed for analysts, growth teams, and researchers working with video content intelligence.

Video Search Intelligence on OK.RU

  • Extracts videos directly from keyword-based search results
  • Captures detailed engagement and visibility metrics
  • Produces structured, analysis-ready datasets
  • Supports repeat runs for trend and performance tracking

Features

Feature Description
Keyword-Based Search Collect videos using one or multiple search keywords.
Engagement Metrics Extract views, likes, and duration for each video.
Rich Metadata Includes titles, thumbnails, creation dates, and owner info.
Result Limiting Control the maximum number of videos collected per keyword.
Timestamped Records Each record includes scrape time for historical analysis.
Anti-Blocking Logic Designed for stable, repeatable data collection.

What Data This Scraper Extracts

Field Name Field Description
keyword Search term used to discover the video.
video_id Unique identifier of the video on OK.RU.
title Video title as shown in search results.
video_url Direct URL to the video page.
thumbnail_small Small preview image URL.
thumbnail_large Large preview image URL.
duration_ms Video duration in milliseconds.
likes_count Total number of likes.
views_count Total number of views.
created_at Video creation timestamp.
owner Video owner or source information.
scraped_at Timestamp when the data was collected.

Example Output

[
    {
        "keyword": "fashion",
        "video_id": "250725270864",
        "title": "Fashion Week Plus Size 2017",
        "video_url": "https://ok.ru/video/250725270864",
        "thumbnail_small": "https://i.okcdn.ru/videoPreview?id=250725270864&type=47",
        "thumbnail_large": "https://i.okcdn.ru/videoPreview?id=250725270864&type=47&size=large",
        "duration_ms": 547179,
        "likes_count": 13,
        "views_count": 2747,
        "created_at": "2017-02-12T10:22:56Z",
        "owner": "YoutubeUser",
        "scraped_at": "2025-02-09T08:39:35Z"
    }
]

Directory Structure Tree

OK.RU Video Scraper 🎥/
├── src/
│   ├── runner.py
│   ├── extractors/
│   │   ├── okru_search_parser.py
│   │   └── video_metadata.py
│   ├── utils/
│   │   ├── time_utils.py
│   │   └── validators.py
│   └── config/
│       └── settings.example.json
├── data/
│   ├── inputs.sample.json
│   └── outputs.sample.json
├── requirements.txt
└── README.md

Use Cases

  • Content strategists use it to analyze trending OK.RU videos, so they can identify high-performing topics.
  • Marketing teams use it to track engagement metrics, so they can measure campaign relevance.
  • Researchers use it to study regional content trends, so they can understand audience behavior.
  • Media analysts use it to monitor creators, so they can benchmark performance over time.

FAQs

What keywords work best for accurate results? Specific and topical keywords usually return more relevant videos. Broad terms may increase noise in results.

Can I limit how many videos are collected? Yes, the maxItems parameter allows you to control the number of results per keyword.

Are all videos always accessible? Some videos may be region-restricted or unavailable depending on location and platform rules.

Is the data suitable for spreadsheets and dashboards? Yes, the structured output is designed for direct use in analytics tools and reporting systems.


Performance Benchmarks and Results

Primary Metric: Processes up to 50 videos per keyword in a single run with consistent extraction accuracy.

Reliability Metric: Achieves stable completion rates across repeated runs with minimal failed records.

Efficiency Metric: Optimized parsing minimizes overhead while maintaining detailed metadata coverage.

Quality Metric: High data completeness with consistent capture of titles, metrics, and timestamps.

Book a Call Watch on YouTube

Review 1

"Bitbash is a top-tier automation partner, innovative, reliable, and dedicated to delivering real results every time."

Nathan Pennington
Marketer
★★★★★

Review 2

"Bitbash delivers outstanding quality, speed, and professionalism, truly a team you can rely on."

Eliza
SEO Affiliate Expert
★★★★★

Review 3

"Exceptional results, clear communication, and flawless delivery.
Bitbash nailed it."

Syed
Digital Strategist
★★★★★