Download Youtube-dl in Two images

  1 min read  

Download Youtube-dl in Two images

Yesterday (October 23, 2020), one of the best tools to download almost all videos from the internet has its repository and its forks removed due to copyright, you can see the DMCA bot informing this link.

But calm down, all is not lost, there is a way for you to get it by downloading only two images, like this:

Download the images:

wget https://terminalroot.com.br/downs/ytdl1.png
wget https://terminalroot.com.br/downs/ytdl2.png

And run these commands:

convert -depth 8 ytdl1.png rgb:yt_dl1.part
convert -depth 8 ytdl2.png rgb:yt_dl2.part
cat yt_dl1.part yt_dl2.part > yt_dl-2020.9.20.tar.gz

A gzip file will be generated and then just unzip it:

tar zxvf yt_dl-2020.9.20.tar.gz

Ready! The Youtube-DL code is already on your machine!

If you want to facilitate use this script: vim ytdl.sh

#!/usr/bin/env bash
convert -depth 8 ytdl1.png rgb:yt_dl1.part
convert -depth 8 ytdl2.png rgb:yt_dl2.part
cat yt_dl1.part yt_dl2.part > yt_dl-2020.9.20.tar.gz
tar zxvf yt_dl-2020.9.20.tar.gz

And run: bash ytdl.sh

Alternatively you have some repositories on other platforms like the one from GitLab, although it is not as up to date as the images.

This tip was from the hacker: cat /dev/spooky

Useful links

Add our feed: https://en.terminalroot.com.br/feed to:

Feedly