Skip to content
//YouTube Scraper example\\

Web scraping tutorials with subtitles, 10 videos

Search results with German subtitles in VTT format.

Updated December 5, 2026

What this example returns

This example returns up to 10 videos.

The dataset’s “Overview” view shows 9 columns: Video Title, Channel, Views, Likes, Published, Duration, Type, Video URL, and Comments. See every output field.

What each setting does

The input this example runs YouTube Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Search terms searchQueries

web scraping tutorials

Enter search terms just like you would enter it in YouTube's search bar.

Maximum videos per search term maxResults

10

Limit the number of videos you want to crawl. If you scrape a channel, acts as a limit for regular videos. No upper limit: listings are read until YouTube has no more (a search typically ends after several hundred videos).

Maximum shorts per search term maxResultsShorts

0

Limit the number of Shorts videos you want to crawl.

Maximum streams per search term maxResultStreams

0

Limit the number of Stream videos you want to crawl.

Subtitles transcriptionAndSubtitle

Only download subtitles (when present on the video)

Download subtitles that are already on the video.

Default: None → this example uses Only download subtitles (when present on the video)

Subtitle language subtitlesLanguage

German

Subtitle language. Needs a subtitle option above.

Default: English → this example uses German

Subtitle format subtitlesFormat

WEBVTT

Select in what format you want to download subtitles

Default: SRT → this example uses WEBVTT

.json
{
  "maxResults": 10,
  "maxResultsShorts": 0,
  "maxResultStreams": 0,
  "searchQueries": [
    "web scraping tutorials"
  ],
  "transcriptionAndSubtitle": "ALWAYS_SUBTITLES",
  "subtitlesLanguage": "de",
  "subtitlesFormat": "vtt"
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Resultfrom $0.00102One saved YouTube video, Short or stream row
  • Date filterfrom $0.00033Per result when dateFilter (search) or oldestPostDate (channels) is set and applied

Full pricing

Other ways to run YouTube Scraper

All examples of YouTube Scraper

About YouTube Scraper

Scrape public YouTube videos, channels, playlists, hashtags, and search results. Get titles, views, likes, durations, upload dates, descriptions, and channel details.

Price:
From $1.02 / 1,000 results
Developer:
Echofield
Categories:
Videos, Social media

YouTube Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.