Skip to content
//YouTube Video Downloader example\\

Download 2 videos as 480p WebM

Works with Shorts and youtu.be links.

Updated October 21, 2026

Input

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

Video linksvideos
https://www.youtube.com/shorts/aNI2jv7lBPQ, https://youtu.be/dQw4w9WgXcQ
Maximum videosmaxVideos
10
Preferred qualitypreferredQuality
480p
Preferred formatpreferredFormat
webm
Save the filestoreInKVStore
Yes
Name the file withfilenameTemplateParts
title
SubtitlestranscriptionAndSubtitle
None
.json
{
  "videos": [
    {
      "url": "https://www.youtube.com/shorts/aNI2jv7lBPQ"
    },
    {
      "url": "https://youtu.be/dQw4w9WgXcQ"
    }
  ],
  "preferredQuality": "480p",
  "preferredFormat": "webm",
  "maxVideos": 10,
  "storeInKVStore": true,
  "filenameTemplateParts": [
    "title"
  ],
  "transcriptionAndSubtitle": "NONE"
}

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. The advantage lasts forever.

No credit card. No setup calls.