How to Download Videos with Apple Shortcuts, Raycast and Terminal on Mac
Set up a one-keystroke video download on Mac: an Apple Shortcut, Raycast Quicklink or zsh helper that sends the copied link to VidNeat via vidneat://.
On this page
To download videos with Apple Shortcuts on a Mac, build a three-action Shortcut (Get Clipboard, URL, Open URLs) that turns the copied link into a vidneat://download?url=… address, then give it a keyboard shortcut. Press it after copying a video link and VidNeat opens with that link ready. The same address works from Raycast, Alfred, a bookmark or Terminal’s open command.
This guide sets up all four, lists the URL parameters, and covers the two mistakes that break them. Parameters and behaviour are from VidNeat 1.0.3 and its URL scheme runbook, checked on 7 November 2026. Shortcuts and Raycast steps are from macOS 26 and the current Raycast release.
Disclosure: VidNeat is our app, and this guide is specific to it. Only download video you have the right to keep.
Key takeaways:
- One URL does everything:
vidneat://download?url=ENCODED_LINK, plus optionalquality,format,trimin,trimout,subtitlesandsponsorblock. - The Shortcut takes 3 actions and about two minutes to build; a keyboard shortcut such as ⌃⌥V makes it one keystroke.
- Smart Mode in Settings decides what happens, not the link: off (the default) opens New Download for you to confirm, on queues the link at once.
- Always URL-encode the video link. An unencoded
&or?gets read as one of VidNeat’s own parameters. triminandtrimouttake seconds (90,125.5), not timecodes.
Which method should you use?
| Method | Setup time | Best for |
|---|---|---|
| Apple Shortcuts | About 2 minutes | One global keystroke from any app, no extra software |
| Raycast or Alfred Quicklink | About 1 minute | People who already live in a launcher |
Terminal open |
None | Scripts, and sending many links |
| Bookmarklet or extension | About 1 minute | Sending the page you’re on; see browser integration |
How a URL scheme hands VidNeat a link
A custom URL scheme is an operating-system-level URI handler registered by a native Mac application. Just as mailto: opens Apple Mail and ssh: opens Terminal, macOS allows installed applications to register custom protocol prefixes like vidneat://.
When macOS encounters a URI beginning with vidneat://:
- The LaunchServices daemon identifies the assigned handler.
- If the application is closed, macOS launches it. If it is already running, it wakes it immediately.
- The raw URI string is passed into the app’s event loop via the native
application(_:open:)delegate.
User Event (Browser / Keystroke / Script)
│
▼
macOS LaunchServices Daemon
│
▼
VidNeat Event Loop
│
┌──────────────┴───────────────────┐
▼ ▼
Smart Mode ON in Settings: Smart Mode OFF (default):
queued at once New Download, link inspected
Because this mechanism is baked into the foundation of macOS, anything that can open a URL can command VidNeat—including Apple Shortcuts, Raycast, Alfred, Automator, and Terminal shell scripts.
The vidneat:// URL parameters
Every VidNeat automation request follows standard RFC 3986 query parameters:
vidneat://ACTION?url=ENCODED_URL&PARAM1=VALUE1&PARAM2=VALUE2
Your Smart Mode setting decides what happens
The link can’t decide whether to download. In version 1.0.3, what happens depends only on Settings > Smart Mode:
- Smart Mode off (the default): VidNeat comes to the front, fills the link into New Download and inspects it, applying any quality, trim, subtitle and SponsorBlock values from the link. Nothing downloads until you press Download.
- Smart Mode on: the link goes straight into the queue, using the link’s values or your defaults.
This is deliberate. Any web page can open a vidneat:// link, so if a link could start a download by itself, a page could queue downloads on your Mac without asking. The smart=1 parameter is still accepted but has no effect, and vidneat://queue?url=… behaves exactly like vidneat://download?url=….
If VidNeat has no active licence or trial, the link waits in the New Download field and nothing is fetched.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
url |
String | Yes | The web link to fetch. Must be URL-encoded (especially links containing query characters like & and ?). |
quality |
String | No | best, 4k (or 2160/2160p), 1080p, 720p, or audio. Without it, your default quality in Settings applies (1080p unless you changed it). |
format |
String | No | When quality=audio: mp3, m4a, flac, wav, or opus. |
sponsorblock |
1 or true |
No | Turns SponsorBlock on for this link. |
subtitles |
1 or true |
No | Turns subtitles on for this link. Ignored when a trim range is set, because a cut would leave the captions out of step. |
trimin / trimout |
Seconds | No | Start and end in seconds, such as 90 or 125.5. Timecodes like 00:01:30 aren’t read. |
filename |
String | No | Names the output file. Applied when Smart Mode queues the link directly; the New Download screen doesn’t take it. |
smart |
— | No | Accepted for compatibility, but has no effect. Smart Mode in Settings decides. |
Step 1: Build the Apple Shortcut (2 minutes)
This Shortcut reads the link you copied and sends it to VidNeat:
Create the Shortcut
- Open the Shortcuts app on your Mac (
⌘Space-> typeShortcuts). - Click + in the toolbar to create a new Shortcut.
- Title it Send to VidNeat.
Add three actions
From the right-hand action library, add these three actions in order:
- Get Clipboard: Retrieves the current link copied to your system clipboard.
- URL: Construct the command string:
(Right-click onvidneat://download?url=[Clipboard][Clipboard]inside the text box and verify that the Type is set to URL-encoded Text). - Open URLs: Passes the constructed URL to macOS LaunchServices.
Give it a keyboard shortcut
- Click the Shortcut Details inspector icon (the small sliders icon on the top right).
- Check Use as Quick Action -> Services Menu.
- Check Show in Menu Bar.
- Click Add Keyboard Shortcut and press your preferred combination, such as
⌃⌥V(Control + Option + V).
Now, whenever you have copied a video’s link, press ⌃⌥V. VidNeat comes to the front with the link inspected and ready, so you can pick a quality or set a trim range and press Download. If you’d rather skip that screen, switch on Smart Mode in Settings and the shortcut queues the link at once.
Step 2 (optional): Add a Raycast or Alfred Quicklink
If you prefer keyboard launcher utilities like Raycast:
- Open Raycast and search for Create Quicklink.
- Title:
Download Video with VidNeat - Link:
vidneat://download?url={clipboard} - Set an Alias like
vn.
Pressing ⌘Space, typing vn, and hitting Enter sends your clipboard link to VidNeat, which opens it in New Download, or queues it if Smart Mode is on.
Step 3 (optional): Send links from Terminal
Because macOS ships with the /usr/bin/open CLI tool, you can hand links to VidNeat from Terminal scripts. For an unattended script, switch on Smart Mode in Settings first; otherwise each link waits in New Download for you to press Download.
Send a link at 1080p
# Opens in New Download at 1080p, or queues at once if Smart Mode is on
open "vidneat://download?url=https%3A%2F%2Fexample.com%2Fwatch%3Fv%3DXYZ&quality=1080p"
Download only part of a video
# Fetch only the range between second 45 and second 120
open "vidneat://download?url=https%3A%2F%2Fexample.com%2Fwatch%3Fv%3DXYZ&trimin=45&trimout=120"
A reusable helper in ~/.zshrc
Add this lightweight function to your ~/.zshrc profile:
clip() {
local target_url="$1"
local target_quality="${2:-best}"
local encoded
encoded=$(python3 -c 'import urllib.parse, sys; print(urllib.parse.quote(sys.argv[1], safe=""))' "$target_url")
open "vidneat://download?url=${encoded}&quality=${target_quality}"
}
Now you can send links from anywhere in your shell:
clip "https://example.com/watch?v=XYZ" 1080p
Two mistakes that break automation
When automating video downloads via custom URL schemes on macOS, keep these two rules in mind:
- Always URL-Encode Complex Parameters: If your source link contains characters like
&list=,&t=, or?v=, failing to URL-encode the link will cause macOS to misinterpret those characters as parameters belonging to VidNeat rather than the video URL. - Smart Mode decides, not the link: With Smart Mode off, every link opens New Download with the trim controls ready, so you can adjust the range before anything is written to disk. With it on, links queue immediately using their
trimin/trimoutvalues. Asmart=parameter in the link changes neither.
Limits, plainly: a link can’t start a download on its own unless you switch on Smart Mode, by design, so that a web page can’t queue downloads on your Mac. Without an active licence or trial, links wait in New Download. filename only applies when Smart Mode queues the link, and subtitles are dropped when a trim range is set. The scheme doesn’t read local files.
Common questions
Can Apple Shortcuts download videos on a Mac?
Shortcuts can’t download most web video by itself, but it can hand the link to an app that can. The three-action Shortcut above sends the copied link to VidNeat.
How do I run a Shortcut with a keyboard shortcut?
Open the Shortcut’s details, choose Add Keyboard Shortcut, and press the combination you want, such as ⌃⌥V.
Why does the link open New Download instead of downloading?
Smart Mode is off, which is the default. Switch it on in Settings to queue links at once. The smart=1 parameter has no effect.
Can I set a start and end time in the URL?
Yes. Add trimin and trimout in seconds, for example &trimin=45&trimout=120. Timecodes like 00:01:30 aren’t read. More on ranges: downloading only part of a video.
Can I download audio only from a Shortcut?
Yes. Add &quality=audio&format=m4a (or mp3, flac, wav, opus). Our audio format comparison helps you pick.
Does this work with Alfred?
Yes. Any launcher that can open a URL works. In Alfred, a Custom Web Search with the address vidneat://download?url={query} sends whatever you type or paste after its keyword.
Summary
Build the three-action Shortcut, give it a keystroke, and copying a link plus one key press sends it to VidNeat. Encode the link, use seconds for trims, and switch on Smart Mode only if you want links queued without confirming. The full parameter list is in the URL scheme runbook; for sending the current page from your browser instead, see how to download a video from a website on a Mac.
Related guides
How to Download Only Part of a Video on Mac (Without the Whole File)
Download only part of a long video on a Mac: set the start and end first, so only that range is fetched. How it works, measured savings and its limits.
Extract Audio From Video on Mac: MP3 vs AAC (M4A) vs FLAC vs WAV vs Opus
Which format to use when you extract audio from video on a Mac: MP3, AAC (M4A), FLAC, WAV or Opus, with file sizes worked out and when lossless is pointless.
How to Download a Video From a Website on Mac: 4 Methods and Their Limits
Four ways to save a video from a web page on a Mac: the site's own option, Safari's Web Inspector, a downloader app, or screen recording, and their limits.
Browser integration and URL scheme
Send links to VidNeat from the browser extension, a bookmarklet or the vidneat:// URL scheme.
Get the clip you need. Not the entire video.
A native Mac downloader that fetches the range you mark and cuts by copying streams. Requires macOS 14.0 Sonoma or later.
VidNeat is a software tool. You are responsible for having the rights or permission to access, use, edit and export the media you work with.