https://www.python.org/downloads/release/python-390/
If Python 3 is used, an error may be returned due to python not being found. Use the following commands:
whereis python3
sudo ln -s /usr/bin/python3 /usr/bin/python
To install youtube-dl, use the commands below:
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
To use the application, use the command with an URL:
/usr/local/bin/youtube-dl -k <URL of video>
The -k switch will download the file in multiple formats, including .MP4. If you only wish to use .MP4, use the switch -f mp4 before the URL.
https://github.com/ytdl-org/youtube-dl
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.