MS

Hello, I’m Michael Sliwinski, founder of Nozbe - to-do app for business owners and their teams. I write essays, books, work on projects and I podcast for you using #iPadOnly in #NoOffice as I believe that work is not a place you go to, it’s a thing you do.

🥳 ✅ Get 3️⃣ MONTHS of Nozbe FREE 🖤 BLACK FRIDAY 🙏 👍

How to download video and audio from YouTube using youtube-dl on the iPad

📱iPadOnly,🔗Shortcuts

Update September 24, 2024: This post has been updated and this old post is no longer relevant: My iPad Pro has 256GB of storage and I usually use only half of it. Recently I started downloading more stuff to take advantage of that storage and be able to watch things later when the Internet connection is flaky. I download Netflix or Prime Video movies or shows, some of my purchased iTunes content… and most recently I started downloading YouTube videos thanks to a brilliant youtube-dl script and a cool shell-like iPad app. Here’s how I do it. Again, update, now it’s yt-dlp and here are new instructions.

Getting the shell app for the iPad

I got the A-shell app for the iPad (I heard about it from Federico Viticci) and once it’s installed, I can open it up and have a Unix-like shell available with python language installed.

Getting YouTube-DL python script

It’s available on youtube-dl web site and to get it you just have to type this:

curl -L https://yt-dl.org/downloads/latest/youtube-dl -o youtube-dl

Now you can start downloading video and audio:

How to download video and audio from YouTube using youtube-dl on the iPad 2

Downloading video for watching

Now that I’ve got everything set up, I can download my first YouTube video easily. Let’s say I want to download our Nozbe promo video from ProductHunt:

python youtube-dl -f mp4 "https://www.youtube.com/watch?v=6STLYtnQnfU" -o "nozbe-teams.mp4"

Once downloaded this video is available in the “Files app” in the section “On My iPad” > “a-Shell”.

Downloading audio for listening

Sometimes I want to download a video in audio form for later listening on the road. Like for example you’d want to get my latest team productivity webinar:

python youtube-dl -f m4a "https://www.youtube.com/watch?v=5-pvFMTtdKU" -o "nozbe-webinar-audio.m4a"

You cannot convert it to mp3, because you cannot install ffmpeg which is required for it, but the Apple-support M4A format which is good enough.

Again, it’ll download and it’ll be available on the iPad in the “a-Shell” folder.

How to download video and audio from YouTube using youtube-dl on the iPad 3

If you’re Overcast premium subscriber, you can simply upload your audio files there and listen to them on the go from your iPhone.

Bonus: a Siri Shortcut to paste python command!

I’ve created a Siri shortcut which can be used to either share directly a video from YouTube or paste a link from YouTube and it creates an entire python download command for you to just paste in A-Shell:

Get the Siri Shortcut for YouTube-DL

Enjoy!

This is the easiest way I know to get the YouTube content on the iPad as quickly as possible for offline consumption later.

How to download video and audio from YouTube using youtube-dl on the iPad

Thursday, October 15, 2020 /youtube-dl/