After downloading the 4k software for downloading youtube videos, i get a message saying this file could harm my computer,keep or discard.
Asked
Active
Viewed 240 times
1 Answers
3
Delete 4K Video Downloader and install youtube-dl (sudo snap install youtube-dl
) instead. youtube-dl is a small command-line program to download videos from YouTube.com and other sites that don't provide direct links to the videos served.
youtube-dl allows the user, among other things, to choose a specific video quality to download (if available) or let the program automatically determine the best (or worst) quality video to grab. It supports downloading entire playlists and all videos from a given user.
Example:
sudo snap install youtube-dl # installs the latest version
cd ~/Desktop
snap run youtube-dl -F https://www.youtube.com/watch?v=W6NZfCO5SIk
snap run youtube-dl -f 18 https://www.youtube.com/watch?v=W6NZfCO5SIk
Note: youtube-dl is also able to recognize URLs of the form https://youtu.be/W6NZfCO5SIk

karel
- 114,770
youtube-dl -F 'http://www.youtube.com/some-alphanumeric-string'
from the terminal to show the available formats without downloading a video. Runyoutube-dl -f FORMAT 'http://www.youtube.com/some-alphanumeric-string'
to download the selected format whereFORMAT
is replaced by the selected format orbest
if you want the best available quality. – karel Apr 24 '20 at 10:35cd ~/Desktop
) before you download the video. – karel Apr 24 '20 at 10:44youtube -dl -F 'https://youtu.be/W6NZfCO5SIk' youtube: command not found
– Grand Apr 24 '20 at 10:57youtube -dl -F 'https://youtu.be/W6NZfCO5SIk'
– Grand Apr 24 '20 at 10:59