HOW TO USE IT

1- Open Terminal
2- Go into Desktop to download everything there

cd Desktop

3- Type youtube-dl and then “YOUTUBE URL” inside the doble comillas like this example

youtube-dl “https://www.youtube.com/watch?v=dQw4w9WgXcQ”

4- download has started be happy :).

HOW TO UPDATE

Update use Sudo for permissions

sudo youtube-dl -U

FOR THE FIX TO THE PYTHON ISSUE env: python: No such file or directory

This is where the answer was https://stackoverflow.com/questions/71468590/env-python-no-such-file-or-directory-when-building-app-with-xcode

the answer that worked in a macbook pro M1

ln -s “$(brew –prefix)/bin/python”{3,}

AGE RESTRICTION ISSUE

1- Open Terminal
2- Go into Desktop to download everything there

cd Desktop

3- ok now you need to add a chrome extension call get cookies.txt

https://chrome.google.com/webstore/detail/get-cookiestxt/bgaddhkoddajcdgocldbbfleckgcbcid

4- go into the video you want to download press on the get cookies extension and click on export.
5- save the cookie file as cookies.txt into you desktop (this is easier since you will not have to write the path in terminal)

6- ok once is all in your desktop use the –cookies statement on terminal as this

youtube-dl –cookies “cookies.txt” “https://www.youtube.com/watch?v=dQw4w9WgXcQ”

Where –cookies is to call the cookies path that you just download “cookies.txt” is the path where you download the cookies with the extension and then the normal youtube URL inside de doble comillas.

THE END.