Most YouTube Rip failures come down to one of a handful of root causes — an outdated yt-dlp build, a missing Homebrew installation, or a transient YouTube API change. The accordions below cover every common failure mode with a specific fix for each one.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.
Start here for any download failure: run
brew upgrade yt-dlp before anything else. YouTube changes its internal API frequently, and yt-dlp releases fixes within hours. Keeping yt-dlp up to date resolves the majority of download errors without any further debugging.yt-dlp: command not found
yt-dlp: command not found
Cause: yt-dlp is either not installed, or Homebrew’s Follow any recommendations it prints before trying again.
bin directory is not on the PATH that the script is using.Fix:-
Install yt-dlp via Homebrew if you haven’t already:
-
Verify the installation path:
The output should be one of:
/opt/homebrew/bin/yt-dlp— Apple Silicon (M-series) Mac/usr/local/bin/yt-dlp— Intel Mac
/opt/homebrew/bin and /usr/local/bin), so if which yt-dlp returns one of those locations the script should find it automatically.If yt-dlp still can’t be found after installation, run brew doctor to check for Homebrew configuration issues:HTTP Error 403: Forbidden
HTTP Error 403: Forbidden
Cause: YouTube rejected the download request. This most commonly happens when yt-dlp is outdated and tries to use a deprecated or blocked player client.The script already passes
--extractor-args "youtube:player_client=default,-android_sdkless" to explicitly disable the android_sdkless client, which can cause 403 errors. If you are still seeing a 403, yt-dlp likely needs to be updated to a newer version that knows how to handle YouTube’s current player API.Fix:-
Update yt-dlp to the latest version:
- Run the script again and check the output dialog.
Script hangs or takes a very long time
Script hangs or takes a very long time
Cause: A slow network connection, an unusually long video, or yt-dlp stalling during format selection can all cause the script to appear frozen.Because YouTube Rip is a GUI AppleScript with no streaming output, there is no progress indicator while the shell command runs. The script is not frozen — it is waiting for
do shell script to return, which only happens once yt-dlp exits. For videos longer than 30 minutes, waiting several minutes is normal.What to do:- Wait at least 2–3 minutes for standard-length videos before assuming something is wrong.
-
For videos 1 hour or longer, consider running yt-dlp directly in Terminal where you can watch live progress output:
- If the script dialog never returns and Terminal yt-dlp also stalls, check your network connection and try again.
Script Editor says 'syntax error' or won't run
Script Editor says 'syntax error' or won't run
Cause: The
.applescript file may have been corrupted during download, had its line endings altered by a text editor, or was opened in an application other than Script Editor.Fix:-
Re-download the script from the official repository:
-
Open the freshly downloaded file in Script Editor (located at
/Applications/Utilities/Script Editor.app). Do not open it in a plain text editor such as TextEdit, VS Code, or BBEdit before running — those applications may alter line endings or encoding in ways that confuse the AppleScript compiler. - Click the Compile button (the hammer icon) in Script Editor to verify there are no syntax errors before clicking Run.
MP3 not appearing in ~/Downloads
MP3 not appearing in ~/Downloads
Cause: yt-dlp may have exited with an error (silently from the script’s perspective), or the file was saved with an unexpected name that makes it hard to spot.Fix:
-
Re-read the Shell stdout dialog that appeared after the run. If it contains a line starting with
ERROR:, the download did not complete — address that error first using the other entries in this guide. -
If the stdout dialog showed a normal download log, search
~/Downloadsfor recently modified files. In Finder:- Open
~/Downloads - Click the Date Modified column header to sort by newest first
- Look for an
.mp3file at the top of the list
- Open
-
You can also search from Terminal:
This lists any MP3 files in Downloads that were modified in the last 10 minutes.
.mp3 — searching by extension is the most reliable way to find it.The script only works on Apple Silicon — what about Intel Macs?
The script only works on Apple Silicon — what about Intel Macs?
The source code includes the comment: “This may only work on M series Macs.” This note refers to the primary Homebrew path used by the script.On Apple Silicon (M-series) Macs, Homebrew installs to This means the script should work on Intel Macs as long as yt-dlp was installed via Homebrew. To confirm:On an Intel Mac, this should return
/opt/homebrew/bin. On Intel Macs, Homebrew installs to /usr/local/bin. The script exports both paths:/usr/local/bin/yt-dlp. If it returns a different path (for example a pyenv or pip-managed installation), the script will not find it, and you should reinstall yt-dlp via Homebrew: