Oddbean new post about | logout
 Download Youtubes

One of our readers asked if there’s an open source way to download Youtube videos, for music mp3 or the entire video.  Yes, there is.

For web browser,
There’s Invidious,
https://invidious.io/
You can use their list of instances or get served up a fresh one from farside.link

For Linux & Windows desktop,
There’s Freetubeapp,
https://freetubeapp.io/
You can download on FreeTube, but as a heads up, it doesn’t tell you the progress which is frustrating for a longer video.  As a tip, if you do a lower quality, it will be faster to help with this issue.

For Android,
There’s NewPipe, which is an F-Droid FOSS front end for Youtube.  You can download on here, and minimize videos while they play, which Google itself blocks on the real YT client.

For command line,
There’s both Youtube-DL and Youtube-DLP
One of our readers says the fork, Youtube-DLP is way better:
https://github.com/yt-dlp/yt-dlp
Our reader Vidar uses this with Termux on Android.
&
But here’s the older original for comparison Youtube-DL:
https://ytdl-org.github.io/youtube-dl/

For browser extensions,
There’s Firefox “Video Download Helper”
https://addons.mozilla.org/en-US/firefox/addon/video-downloadhelper/
https://www.downloadhelper.net/
Although I personally can’t vouch for this.

Got more ways?  Comment below, I’ll add em to our site 
 Abosolute gem.
nostr:nevent1qqsqqqqqwjwp6eja2nnh7um9kssfwhwxpa6fk09lswhqx4gyj656hjgpz3mhxue69uhhyetvv9ujumn0wd68ytnzvupzptpldtlpwkflvxqs2y76exs7238g0wwwjxe86dac3mzclw4fq992qvzqqqqqqy8zavvv 
 Wow, thankyou. 
 Sure np. We'd love to collab with you on bitcoin wallet privacy. Dm me if down 
 I use yt-dlp. It works perfectly. 
 couple of notes
- freetube will sometimes break / instance will go down. troubleshooting is not user friendly. it downloads super fast and plays up to 3x speed, i love it
- newpipe will not play through a playlist for me. always throws an error. so best to DL tracks and then play from phone
🤙 
 I noticed some video stutter and audio glitches when using yt-dlp. Any tips on how to mitigate that? 
 I haven't noticed that. Hmm. I use Linux and use the default settings. 
 Same. I get a webm output. 
 awesome. One of our community members was kind enough to open source his script to use DLP with Termux on Android if that's your cup of tea,
https://simplifiedprivacy.com/how-to-download-youtubes/ 
 Newpipe's the best, because I can also download my music from SoundCloud when on an inspirational streak 
 Not open source but lots of things to love about put.io 
 Seconding the shout out to put.io. Literally has replaced all other services. 
 https://github.com/deniscerri/ytdlnis

A UI for yt-dlp on android, in the IzzyOnDroid f-droid repo for those who haven't discovered Obtainium yet.