This page walks you through every step of a YouTube Rip session — from launching the script to locating the downloaded MP3 in your Downloads folder. The script is intentionally minimal: two dialogs, one shell command, and one output file.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/mr-sunset/youtube-rip/llms.txt
Use this file to discover all available pages before exploring further.
Launching the script
There are three ways to runYouTube Rip.applescript on macOS.
Script Editor (Run button)
Open
YouTube Rip.applescript in Script Editor (found in /Applications/Utilities/). Click the Run (▶) button in the toolbar. The script executes immediately in the Script Editor session.Saved Application bundle
In Script Editor, choose File → Export, set Format to Application, and save. The resulting
.app bundle can be double-clicked from Finder, added to the Dock, or launched from Spotlight — no Script Editor window required.The URL dialog
When the script starts it immediately callsdisplay dialog with the title YouTube Rip and a speaker icon drawn from macOS’s built-in GenericSpeaker.icns. A dialog box appears with the prompt:
Enter the video URL:The input field is pre-filled with
https://youtu.be/ as the default answer. Paste or type the full YouTube URL you want to download — any format YouTube accepts works, including:
https://youtu.be/dQw4w9WgXcQhttps://www.youtube.com/watch?v=dQw4w9WgXcQ
What happens next
After you click OK, the script builds and runs the following shell command in the background via AppleScript’sdo shell script:
- PATH export — The script prepends both
/opt/homebrew/bin(Apple Silicon Homebrew) and/usr/local/bin(Intel Homebrew) to$PATHso thatyt-dlpcan be found regardless of which Homebrew installation you have. -x --audio-format mp3— Tells yt-dlp to extract audio only and re-encode it as an MP3.-P "$HOME/Downloads"— Sets the output directory to your Downloads folder.--extractor-args "youtube:player_client=default,-android_sdkless"— Avoids theandroid_sdklessplayer client, which can trigger HTTP 403 errors from YouTube.
The output dialog
Once yt-dlp finishes, the script displays a seconddisplay dialog showing:
Shell stdout: <yt-dlp output>This dialog uses macOS’s
BurningIcon.icns — a burning CD icon — as its icon. The body of the dialog is the raw standard output that yt-dlp printed to the shell. A successful run typically looks similar to:
ERROR: or HTTP Error 403) rather than the usual download log, see the Troubleshooting page.
Click OK to dismiss the dialog.
Finding your MP3
The finished file lands in your Downloads folder —~/Downloads, which resolves to /Users/<your-username>/Downloads. yt-dlp names the file after the video title, so the filename will typically be something like: