🎬 YouTube Video Formats Scraper πŸš€

🎬 YouTube Video Formats Scraper πŸš€

by scrapearchitect

Extract direct links to every YouTube video & audio format, from 4K streams to DASH manifests. Get clean JSON with resolutions, codecs, bitrates, and thumbnails for downloads or analysis.

303 runs
8 users
Try This Actor

Opens on Apify.com

About 🎬 YouTube Video Formats Scraper πŸš€

Need to grab the exact video or audio file from YouTube, not just the page? I built this scraper for that. It digs into YouTube's technical backend to pull the direct links for every available formatβ€”whether you're after a 4K video stream, a standalone audio file, or a specific DASH manifest. You get the raw data: resolution options, codec details, bitrates, and even the thumbnail images in their various sizes. It's the kind of granular access you'd normally need browser dev tools open for, but automated and structured into clean JSON. I use it for a few things: archiving specific quality versions of videos, preparing content for offline analysis, or building tools that need direct media access without relying on sketchy third-party download sites. It fetches the technical headers too, which is crucial if you're writing a custom downloader or verifying file integrity. It just gives you what's actually there on YouTube's servers, no fluff. If you've ever been frustrated trying to programmatically figure out the best download URL, this handles the messy part.

What does this actor do?

🎬 YouTube Video Formats Scraper πŸš€ is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

YouTube Video Formats Scraper

Overview

This actor extracts comprehensive technical data from YouTube videos, including all available streaming formats, storyboard fragments, and metadata. It's designed for developers, researchers, and archivists who need direct access to video manifests and stream URLs without using the official YouTube API. The tool supports geo-restricted content via proxies and typically runs in 30-60 seconds per video.

Key Features

  • Multi-Format Extraction: Retrieves data for DASH manifests (mp4/webm), storyboard fragments (thumbnail grids), and audio-only or video-only streams.
  • Detailed Fragment Data: Provides rows/columns configuration, individual fragment URLs and durations, and HD thumbnail previews for storyboards.
  • Quality & Technical Info: Lists available resolutions from 144p to 4K, estimates filesizes, and identifies container formats (webm, mp4, m4a).
  • Download-Ready Output: Includes pre-configured HTTP headers (User-Agent, Accept-Language) and downloader chunk sizes for immediate use.
  • Proxy Support: Works with residential proxies to bypass regional restrictions.

How to Use

Provide a list of YouTube video URLs in the actor's input. The actor will fetch and parse the video's technical manifests, then return a structured JSON object containing all discovered format data, including direct URLs.

Input Configuration

The input requires a video_urls array. Each item should contain the video URL and the method (always use GET).

{
  "video_urls": [
    {
      "url": "https://www.youtube.com/watch?v=EXAMPLE_ID",
      "method": "GET"
    }
  ]
}

Output Example

The output is a JSON array with detailed information for each processed video.

[
  {
    "original_url": "https://www.youtube.com/watch?v=2VLqZtded_0&",
    "title": "Example Video Title",
    "thumbnail": "https://i.ytimg.com/vi_webp/2VLqZtded_0/maxresdefault.webp",
    "Video_Formats": [
      {
        "rows": 10,
        "columns": 10,
        "fragments": [
          {
            "url": "https://i.ytimg.com/sb/2VLqZtded_0/storyboard3_L0/default.jpg...",
            "duration": 247
          }
        ],
        "audio_ext": "none",
        "video_ext": "none",
        "http_headers": {
          "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)..."
        }
      },
      {
        "manifest_url": "https://manifest.googlevideo.com/api/manifest/hls_variant...",
        "quality": 9,
        "filesize": 47409955,
        "video_ext": "mp4",
        "container": "mp4_dash"
      }
    ]
  }
]

Output includes:
* fragments: URLs and durations for thumbnail grid images.
* container: Stream container format (e.g., webm, mp4, mp4_dash).
* quality: Numeric quality indicator from 0 (lowest) to 11 (4K).
* filesize: Estimated download size in bytes.
* http_headers: Pre-configured headers for downloading streams or fragments.

Use Cases

  • Building custom video downloader tools.
  • Analyzing video compression and adaptive streaming setups for research.
  • Archiving videos at the highest available quality.
  • Bulk exporting format details for automation pipelines.

Privacy & Security

  • No YouTube API keys are required.
  • GDPR-compliant data handling.
  • Proxy-friendly; residential proxies are recommended for geo-restricted content.

Related Tools

For custom requests (e.g., adding bitrate or codec info), contact: scrapearchitect@gmail.com.

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try 🎬 YouTube Video Formats Scraper πŸš€ now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
scrapearchitect
Pricing
Paid
Total Runs
303
Active Users
8
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support