ParseForge Scrapers

YouTube Video Downloader - MP4, MP3 & Subtitles

parseforge/youtube-video-downloader-scraper

Download public YouTube videos to MP4 (video + audio merged) or MP3/M4A with subtitles and metadata. Public download links, export to CSV, Excel, JSON or XML.

Run this scraper See the API call
Total runs
53
Bookmarked
0
Last modified
13 days ago

This scraper was last updated on .

What does the YouTube Video Downloader - MP4, MP3 & Subtitles return?

ParseForge

๐ŸŽฌ YouTube Video Downloader Scraper

๐Ÿš€ Export public YouTube videos as MP4, MP3 or M4A files in seconds. Paste video links, get one merged MP4 (video and sound in one file) or an audio file per video, with a public download link and 24 metadata fields per row.

The YouTube Video Downloader saves public YouTube videos to files you can download, share or pass to the next step of a workflow. Each video becomes one MP4 with video and audio already merged (no silent video, no separate audio track), or an MP3 or M4A audio file. Subtitles can be saved next to the file as .srt. Every file lands in the run's key-value store with a public link, and every row carries the title, channel, duration, views, likes, license, codec, resolution and file size.

Tested on the Apify platform on 15 public Blender films and short videos, from a 19-second clip to a 15-minute film, in MP4 (240p to 1440p), MP3 and M4A: 23 of 25 downloads saved, and the 2 misses came from a subtitle bug that is now fixed. A 3-minute 720p video (18 MB) is ready in under a minute and a 12-minute 720p film (73 MB) in about 3 minutes. Quality goes from 144p to 4K, videos up to 3 hours, up to 1,000 videos per run. Private, members-only, age-restricted, paid and live videos are refused with a clear reason and never charged.

๐ŸŽฏ Target Audience ๐Ÿ’ก Primary Use Cases
Video editors, educators, researchers, archivists, marketing teams, AI and ML engineers, developers Offline copies of your own uploads, Creative Commons footage for edits, audio for transcription, dataset building for video models, archiving public lectures

๐Ÿ“‹ What the YouTube Video Downloader Scraper does

  • ๐ŸŽž๏ธ MP4 with sound in one file. The best video stream at or below your quality is merged with the best audio stream. H.264 is preferred so the file plays everywhere.
  • ๐ŸŽง MP3 or M4A audio. M4A keeps the original AAC audio without re-encoding; MP3 is converted at 192 kbps.
  • ๐Ÿ“ Pick the quality from 144p to 4K (2160p). If a video has nothing that high, the closest lower stream is used and the row says what you got.
  • ๐Ÿ’ฌ Subtitles as .srt in the languages you list, with an option to fall back to YouTube's automatic captions.
  • ๐Ÿ”— Public download links for every file, plus 24 fields of metadata per video.
  • ๐Ÿ›ก๏ธ Public videos only. Private, members-only, age-restricted, sign-in-only, paid or rental videos, live streams and premieres are refused as error rows that are never charged.
  • ๐Ÿงฏ Safety caps on video length, file size and videos per run, so a run never surprises you.

๐Ÿ“Š Output

Field Description
๐Ÿ–ผ imageUrl Video thumbnail
๐Ÿ“Œ title Video title
๐Ÿ†” videoId 11-character YouTube video ID
๐Ÿ”— videoUrl Canonical watch URL
๐Ÿ“ฅ inputUrl The link as you entered it
๐Ÿ“บ channelName Channel name
๐Ÿชช channelId Channel ID (UC...)
๐Ÿ”— channelUrl Channel URL
โฑ๏ธ durationSeconds Video length in seconds
๐Ÿ“… publishedDate Upload date (YYYY-MM-DD)
๐Ÿ‘๏ธ viewCount Views at download time
๐Ÿ‘ likeCount Likes, or Not Disclosed when hidden
โš–๏ธ license Creative Commons or Standard YouTube License
๐ŸŽž๏ธ format mp4, m4a or mp3
๐Ÿ“ quality Delivered quality (720p, 1080p60, audio)
๐Ÿ–ฅ๏ธ resolution Width x height, or audio only
๐ŸŽฌ videoCodec avc1 (H.264), vp09 or av01; N/A for audio
๐ŸŽง audioCodec mp4a (AAC), opus or mp3
๐Ÿ’พ fileSizeBytes Size of the saved file
๐Ÿ“„ fileName Key of the file in the run's key-value store
โฌ‡๏ธ downloadUrl Public download link
๐Ÿ’ฌ subtitles Saved subtitle files: language, isAutoGenerated, url
๐Ÿ•’ scrapedAt When the file was saved
โŒ error Refusal or failure reason; null on success

Real rows from a platform run (the last video tops out at 240p, so that is what was saved):

[
  {
    "imageUrl": "https://i.ytimg.com/vi/lqiN98z6Dak/hqdefault.jpg",
    "title": "Glass Half - Blender animated cartoon",
    "videoId": "lqiN98z6Dak",
    "videoUrl": "https://www.youtube.com/watch?v=lqiN98z6Dak",
    "inputUrl": "https://www.youtube.com/watch?v=lqiN98z6Dak",
    "channelName": "Blender",
    "channelId": "UCSMOQeBJ2RAnuFungnQOxLg",
    "channelUrl": "https://www.youtube.com/channel/UCSMOQeBJ2RAnuFungnQOxLg",
    "durationSeconds": 193,
    "publishedDate": "2015-10-30",
    "viewCount": 257900,
    "likeCount": 5202,
    "license": "Creative Commons Attribution license (reuse allowed)",
    "format": "mp4",
    "quality": "720p",
    "resolution": "1280x720",
    "videoCodec": "avc1",
    "audioCodec": "mp4a",
    "fileSizeBytes": 17925967,
    "fileName": "lqiN98z6Dak-720p.mp4",
    "downloadUrl": "https://api.apify.com/v2/key-value-stores/XGmF709DdzcCIeRqB/records/lqiN98z6Dak-720p.mp4?signature=V6fmwJDRjdfj7jarvMo3",
    "subtitles": [],
    "scrapedAt": "2026-09-25T19:54:22.590Z",
    "error": null
  },
  {
    "imageUrl": "https://i.ytimg.com/vi/R6MlUcmOul8/hqdefault.jpg",
    "title": "Tears of Steel - Blender VFX Open Movie",
    "videoId": "R6MlUcmOul8",
    "videoUrl": "https://www.youtube.com/watch?v=R6MlUcmOul8",
    "inputUrl": "https://www.youtube.com/watch?v=R6MlUcmOul8",
    "channelName": "Blender",
    "channelId": "UCSMOQeBJ2RAnuFungnQOxLg",
    "channelUrl": "https://www.youtube.com/channel/UCSMOQeBJ2RAnuFungnQOxLg",
    "durationSeconds": 734,
    "publishedDate": "2012-09-26",
    "viewCount": 2665733,
    "likeCount": 28442,
    "license": "Standard YouTube License",
    "format": "mp4",
    "quality": "720p",
    "resolution": "1280x534",
    "videoCodec": "avc1",
    "audioCodec": "mp4a",
    "fileSizeBytes": 77012261,
    "fileName": "R6MlUcmOul8-720p.mp4",
    "downloadUrl": "https://api.apify.com/v2/key-value-stores/XGmF709DdzcCIeRqB/records/R6MlUcmOul8-720p.mp4?signature=I8Dv69gMT30i2uDWMubh",
    "subtitles": [],
    "scrapedAt": "2026-09-25T19:53:32.698Z",
    "error": null
  },
  {
    "imageUrl": "https://i.ytimg.com/vi/jNQXAC9IVRw/hqdefault.jpg",
    "title": "Me at the zoo",
    "videoId": "jNQXAC9IVRw",
    "videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
    "inputUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
    "channelName": "jawed",
    "channelId": "UC4QobU6STFB0P71PMvOGN5A",
    "channelUrl": "https://www.youtube.com/channel/UC4QobU6STFB0P71PMvOGN5A",
    "durationSeconds": 19,
    "publishedDate": "2005-04-24",
    "viewCount": 436663953,
    "likeCount": 19927930,
    "license": "Standard YouTube License",
    "format": "mp4",
    "quality": "240p",
    "resolution": "320x240",
    "videoCodec": "avc1",
    "audioCodec": "mp4a",
    "fileSizeBytes": 744413,
    "fileName": "jNQXAC9IVRw-240p.mp4",
    "downloadUrl": "https://api.apify.com/v2/key-value-stores/XGmF709DdzcCIeRqB/records/jNQXAC9IVRw-240p.mp4?signature=1Iq04zsEvmpFWvitMF7tw",
    "subtitles": [],
    "scrapedAt": "2026-09-25T19:54:37.371Z",
    "error": null
  }
]

โœจ Why choose this Actor

  • โœ… Built for reliability. YouTube blocks most cloud servers. This Actor reads video pages through residential connections, retries on fresh ones when YouTube asks for a bot check, finds the file routes YouTube accepts, and re-reads the page for fresh links if a transfer is refused. In platform tests 23 of 25 downloads were saved, and the cause of the 2 misses is fixed.
  • ๐ŸŽž๏ธ One merged file. No silent 1080p video plus a separate audio file to stitch yourself.
  • ๐Ÿงพ Clear refusals. Every video that cannot be saved gets a row with the reason (private, live, too long, too large, unavailable), and you pay nothing for it.
  • ๐Ÿ“Š Metadata included. Views, likes, license, codec and resolution come with every file, ready for CSV, Excel, JSON or XML.

๐Ÿ“ˆ How it compares to alternatives

  • ๐Ÿ–ฅ๏ธ Desktop downloaders need a machine that stays on; this runs in the cloud, on a schedule or from an API call.
  • ๐Ÿ”ง Raw yt-dlp on a cloud server usually fails with "Sign in to confirm you're not a bot" or 403 errors; this Actor handles the routing for you.
  • โš ๏ธ Honest ceilings: one run saves at most 1,000 videos, videos longer than 3 hours are refused, and a single file is capped at 4 GB. Large files need more run memory (the run disk is twice the memory). Transfers run at roughly 0.4 to 1.5 MB/s per video, several videos at a time.

โš–๏ธ Acceptable use

This Actor is for videos you own, videos licensed for reuse (for example Creative Commons), and other uses allowed where you live, such as personal offline viewing or research where that is permitted.

  • ๐Ÿ”’ It never signs in and takes no cookies or accounts, so only videos anyone can watch without an account are saved.
  • ๐Ÿšซ Private, members-only, age-restricted, paid, rental and Premium-only videos, live streams and premieres are refused.
  • ๐Ÿงท DRM-protected streams are never downloaded, and no protection is bypassed.
  • ๐Ÿ“œ You are responsible for respecting copyright, YouTube's Terms of Service and the rights of the people in the videos. Do not re-upload or redistribute content you do not have the rights to.

๐Ÿš€ How to use

  1. Create a free Apify account with $5 credit: https://console.apify.com/sign-up?fpr=vmoqkp
  2. Open the Actor and paste your YouTube video links (watch, youtu.be, Shorts or embed links, or bare video IDs).
  3. Pick the file format (MP4, M4A or MP3) and the quality, and turn on subtitles if you need them.
  4. Run it. Open the dataset and click each download link, or export the table to CSV / Excel / JSON / XML.

๐Ÿ’ผ Business use cases

๐ŸŽ“ Education and training

Keep offline copies of your own course videos or Creative Commons lectures for classrooms with poor connectivity.

๐ŸŽฅ Video editing and marketing

Pull your team's published videos, or licensed Creative Commons footage, straight into an editing pipeline.

๐Ÿง  AI and research datasets

Collect reusable (Creative Commons) clips or audio for speech, vision and multimodal research, with the license and metadata in every row.

๐Ÿ—„ Archiving and compliance

Archive your brand's own channel, or public statements you are allowed to keep, with the view count and date at capture time.

๐Ÿ”Œ Automating YouTube Video Downloader Scraper

Schedule runs, trigger them from Make, Zapier or n8n, send a Slack message when files are ready, push links to Google Drive, or read the dataset from Airbyte or GitHub Actions. Each run gives you a dataset of rows and a key-value store of files.

๐ŸŒŸ Beyond business use cases

  • ๐Ÿง‘โ€๐ŸŽ“ Research: audio and video for linguistics, media studies or accessibility work, where your license allows it.
  • ๐Ÿ  Personal: offline copies of videos you uploaded yourself.
  • ๐Ÿค Non-profit: Creative Commons teaching material for offline classrooms.
  • ๐Ÿงช Experimentation: test clips for encoders, players and video models.

๐Ÿค– Ask an AI assistant about this scraper

Copy this Actor's URL into ChatGPT, Claude or Perplexity and ask how to call it from your code, which quality fits your storage, or how to loop over the download links in your language of choice.

โ“ Frequently Asked Questions

๐Ÿ”— Which links work?

Watch links (youtube.com/watch?v=...), short links (youtu.be/...), Shorts, embed links and bare 11-character video IDs. Playlist and channel links are refused: paste the individual video links. Extra parameters such as &t=30s or &list=... are ignored, and the same video listed twice is saved once.

๐Ÿงน What happens with a wrong input?

Nothing breaks. An empty list, Max items set to 0, or entries that are not YouTube video links (text, emoji, other sites, playlists, channels) end the run as succeeded with 0 items and a clear status message; invalid entries are listed in the log and are never charged. Videos that are valid links but cannot be saved (private, unavailable, live, too long...) get a free row with the reason. Fixed-choice fields (quality, format) are still checked by the platform before the run starts.

๐Ÿšง What if YouTube blocks the run?

The Actor retries on fresh residential connections in two rounds with a pause between them. If YouTube still asks for a bot check and nothing could be saved, the run ends as failed with a clear message and no per-file or per-MB charges, so you can simply retry later. If some files were already saved, they stay and the rest are skipped without charge.

โฑ๏ธ What if a download hangs or my cost limit is reached?

A run with no progress for 2 minutes, or one that reaches its time limit, is stopped cleanly: files already saved stay in your key-value store and the unfinished videos are not charged. Before each download the Actor checks your maximum cost per run and skips files it could not charge in full, with a free BUDGET_TOO_LOW row.

๐ŸŽž๏ธ Do I get one file with video and sound?

Yes. MP4 output merges the best video and audio streams into one file.

๐Ÿ“ What if the video is not available in my quality?

The best stream at or below your choice is used. If none exists, the closest one is used, and the quality and resolution columns show exactly what was saved.

๐ŸŽง What is the difference between M4A and MP3?

M4A keeps YouTube's original AAC audio with no quality loss. MP3 is converted at 192 kbps and plays on older devices.

๐Ÿ’ฌ Can I get subtitles?

Yes. Turn on subtitles and list the languages (en, es, pt-BR...). Missing languages are skipped. Automatic captions are used only if you allow them.

๐Ÿ”’ Can it download private, members-only or age-restricted videos?

No. The Actor never signs in, so these are refused with a clear reason and not charged. The same goes for paid, rental and Premium-only content, live streams and premieres.

๐Ÿ“ Is there a size or length limit?

Videos longer than your "Max video length" (default 60 minutes, up to 180) and files larger than "Max file size" (default 1,024 MB, up to 4,096) are refused before anything is downloaded. Very large files also need more run memory.

โฑ How long does it take?

In platform tests a 3-minute 720p video took under a minute and a 12-minute 720p film about 3 minutes. Several videos download at the same time.

๐Ÿ’ธ Am I charged for videos that fail?

No. Refused and failed videos appear as rows with an error message and are never charged.

๐Ÿ”— How long do the download links work?

The links point to the run's key-value store and follow your account's data retention. Download or copy the files you want to keep.

๐Ÿ“ฆ How many videos can one run handle?

Up to 1,000. Free accounts get 10 per run.

โš–๏ธ Am I allowed to download any video?

Only where you have the right to. See the Acceptable use section: use your own videos, Creative Commons videos, or uses your local law allows.

๐Ÿ”Œ Integrate with any app

Use the Apify API, the JavaScript or Python client, webhooks, or ready-made integrations for Make, Zapier, n8n, Slack, Google Drive, Airbyte and more. Every run produces a dataset and a key-value store you can read from any tool.

๐Ÿ”— Recommended Actors

๐Ÿ’ก Pro Tip: browse the complete ParseForge collection for more data tools.

๐Ÿ†˜ Need Help? Open our contact form

โš ๏ธ Disclaimer: this is an independent tool, not affiliated with YouTube or Google. It only saves publicly available videos at the links you provide; you are responsible for having the rights to download and use them.

What input does the YouTube Video Downloader - MP4, MP3 & Subtitles accept?

FieldTypeWhat it doesDefault
videoUrls array Public YouTube video links: watch (youtube.com/watch?v=...), short links (youtu.be/...), Shorts (youtube.com/shorts/...), embed links or bare 11-character video IDs. Playlist and channel links are skipped. Invalid entries are skipped and reported in the log; a list with nothing valid ends with 0 items. Only download videos you own or have permission to use. ["https://www.youtube.com/watch?v=SkVqJ1
maxItems integer Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000 (one run downloads at most 1,000 videos; split bigger jobs across runs). 0 means nothing is downloaded. 10
quality string (9 options) Highest resolution to download. The Actor picks the best stream at or below this height (H.264 preferred for compatibility). If a video has no stream that low, the closest one is used. Ignored for audio-only formats. 720p
format string (3 options) MP4 = video with sound in one file (video and audio merged, no silent or audio-only surprises). M4A = original AAC audio, no re-encoding. MP3 = audio converted to 192 kbps MP3. mp4
downloadSubtitles boolean Also save the subtitle tracks listed below as .srt files next to the video. false
subtitleLanguages array Language codes to save when subtitles are on, for example en, es, pt-BR. Languages the video does not have are skipped. ["en"]
includeAutoSubtitles boolean Use YouTube's automatic captions when the uploader did not publish subtitles in a requested language. false
maxDurationMinutes integer Longer videos are refused before any download. Default 60, up to 180 (3 hours). 60
maxFileSizeMb integer Videos whose estimated file is larger are refused before any download. Default 1,024 MB. Large files also need run memory: the run disk is twice the memory. 1024
maxConcurrency integer How many videos download in parallel. Kept low on purpose to stay polite to YouTube. Default 2, max 4. 2
proxyConfiguration object Proxy used to read video pages. Residential (US) is the default and the most reliable choice. {"useApifyProxy":true,"apifyProxyGroups"

How much does the YouTube Video Downloader - MP4, MP3 & Subtitles cost?

from $20.00 per 1,000 results

Charged forWhat it isPrice each
1 MB saved Each started MB of the saved file. Refused and failed videos are never charged. $0.0012 to $0.0024
Video file saved One video or audio file saved and delivered with its download link and metadata. Error rows are free. $0.02
Actor Start Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). $0.015

Tiered: the lower figure is the price on a higher Apify plan. Billing and the free credit live on Apify.

How do I call the YouTube Video Downloader - MP4, MP3 & Subtitles API?

One POST returns the dataset directly. Same shape for every scraper in the library, so swapping the slug is the only change.

POST ยท run and get results
curl -X POST "https://api.apify.com/v2/acts/parseforge~youtube-video-downloader-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "videoUrls": [
      "https://www.youtube.com/watch?v=SkVqJ1SGeL0"
    ],
    "maxItems": 10,
    "quality": "720p",
    "format": "mp4",
    "downloadSubtitles": false
  }'

What example inputs can I use?

Use these inputs to see how a run is configured.

input.json
{
  "videoUrls": [
    "https://www.youtube.com/watch?v=SkVqJ1SGeL0"
  ],
  "maxItems": 10,
  "quality": "720p",
  "format": "mp4",
  "downloadSubtitles": false
}

What do users say about the YouTube Video Downloader - MP4, MP3 & Subtitles?

No reviews yet. Be the first.

How do I report an issue with the YouTube Video Downloader - MP4, MP3 & Subtitles?

We build and maintain this scraper, so a problem with it comes to us. Report it on the Apify listing and the thread stays attached to the scraper where the next person can find it: open an issue.

Broken and urgent, or you would rather not post in public? Write to parseforge@protonmail.com and it reaches the people who wrote it.

Run YouTube Video Downloader - MP4, MP3 & Subtitles on Apify All scrapers