Previously, I have published a post about running yt-dlp on Android. In this post, I will show you how to install and run yt-dlp as a replacement for youtube-dl on iOS. In case you don’t know, yt-dlp is an open-source program that allows you to download videos and music from YouTube, Facebook, Instagram, SoundCloud, etc. 

Since yt-dlp is a command line based tool, most people run it with Windows Command Prompt or macOS Terminal. With a free terminal app A-Shell on iOS, you can also run yt-dlp commands. If you don’t like the command experience, I will show 2 other workarounds to use yt-dlp to download media on your iPhone or iPad. 

Run yt-dlp with A-Shell

A-Shell is a terminal emulator app for iOS that allows you to run Unix commands. It has Python installed by default, so you can install yt-dlp directly. Yt-dlp itself lets you download YouTube videos in 720P when possible. If you want to download YouTube videos in 1080p with audio, you should also install ffmpeg

YouTube-DL on iOS A-Shell

To install yt-dlp, you just need to run the following command after installing A-Shell app. 

pip install yt-dlp

If you also want to download high quality videos 1080p or above, run the following commands in order:

pip install yt-dlp
mkdir bin
cd bin
curl -L https://github.com/holzschu/a-Shell-commands/releases/download/0.1/ffmpeg.wasm -o ffmpeg.wasm

When all the process is complete, you can run the command to download video and music with a simple command.

yt-dlp [url]

Be sure to replace the url with the url of the video that you want to download. You can open the Files app and locate the downloaded files in On my iPhone > A-Shell folder. For more options, like downloading private YouTube videos, you can check yt-dlp Github page. 

Ease the Process with a Shortcut

For some people, it is a little complicated to run commands to download videos or audio with A-Shell. Especially, when you want to download private videos or extract audio from video, because you need to remember some other parameters. 

Fortunately, there is a custom shortcut, SW-DLT, to help you run yt-dlp to download videos easily. It creates beautiful menus for you to use most, if not all, of the yt-dlp features. With this shortcut, you can easily select video quality and framerate, extract audio from video, download playlists, download GIFs or images from a single item or entire profile. 

SW-DLT youtube-dl Shortcut

You don’t even need to type commands introduced in method 1 to install yt-dlp. When you run this shortcut for the first time, it will automatically configure everything. What you do need to prepare is install A-Shell Terminal app or A-Shell Mini Terminal. 

By default, the shortcut will try to access A-Shell Mini. If you want to use A-Shell Terminal, you should open this shortcut, change the dictionary value for “isMini” to “False”, which is the first action in the shortcut. 

With that configured, you can copy a URL of the video that you want to download and run this shortcut. You can also run this shortcut from share sheet. 

Yt-dlp Similar GUI App for iOS

Loader is like the GUI version of yt-dlp for iOS, but with even more features. As you may have noticed that many downloader apps have been removed from the AppStore. Not many people know about Loader app. That’s why it is still available, I guess. 

Loader enables you to download video or audio from thousands of websites including YouTube, Facebook, Instagram, Twitch, etc. 

YouTube Downloader App for iPhone

You can free download and install the Loader app from App Store. Then you can paste the video link and tab the Search icon to get started. The app will load the video and offer the option to select video quality and format. 

You can also input the URL of a  YouTube playlist or channel, Loader will load all the videos and allows you to choose some of them or all to download. To my surprise, it can even download music from Deezer for free with this app. 

In addition, you can also toggle on the Private Mode option to download private videos or any video that requires your login info to watch. For example, you can use it to download private Facebook videos. You will need to enter your Facebook account and password though. 

In 2024, Loader is no longer free to use. You can pay $0.99 monthly to use it without ads.

Conclusion

All 3 methods have been tested working in 2024. Personally, I love to use the shortcut method to run yt-dlp on iOS. It will bring you the video for quick preview when the download is complete and you can press the Share button to save it to your Camera Roll. 

One thought on “3 Ways to Run yt-dlp on iOS [GUI App]”
  1. I get the error
    ERROR: unable to open for writing: [Errno 1] Opera
    tion not permitted:

    Any work around?

Leave a Reply

Your email address will not be published. Required fields are marked *

You cannot copy content of this page