2 ms·
yt-dlp for example is able to download videos with age restrictions without you having to log in to any account. yt-dlp "https://www.youtube.com/watch?v=K_
by codetrotter 5y ago
yt-dlp for example is able to download videos with age restrictions without you having to log in to any account.
yt-dlp "https://www.youtube.com/watch?v=K_T8OuYIfhM"
The audio and video data is merged into a video file that is saved into the directory where you executed yt-dlp. After the command has finished downloading and merging the file you can open the video file using your media player of choice such as for example mpv or VLC.
If you are on macOS and have homebrew installed, you can install yt-dlp with:
brew install yt-dlp
The yt-dlp people have an individually maintained tap for it as well, but since yt-dlp is available via the main homebrew registry which is generally also up to date I prefer to install it from the homebrew one instead of using the individually maintained tap.
For Linux distros it will depend on how up to date packages are in the package repository you are using. You want yt-dlp to be updated to the latest version every now and then since yt-dlp may break when YouTube make changes to their service.
So for many Linux distros and likewise for Windows you may want to install yt-dlp using pip.
python3 -m pip install --upgrade yt-dlp