- Download yt-dlp with the package manager of your choice. Examples:
sudo wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp
sudo chmod a+rx /usr/local/bin/yt-dlp
python3 -m pip install -U yt-dlp
yay yt-dlp
sudo apt install yt-dlp
sudo nala install yt-dlp
- Download ffmpg with the package manager of your choice. Examples:
yay ffmpeg
sudo apt install ffmpeg
sudo nala install ffmpeg
- Download optional dependencies if necessary from here
- Make a directory where your config files will sit
- Create your first config. Example:
# Uses best audio
-f bestaudio
# Don't stop even if not perfect
-ciw
# verbose
-v
# Extracts the audio
--extract-audio
# Uses best quality
--audio-quality 0
# Makes it a mp3
--audio-format mp3
# Thumbnail
--write-thumbnail
--embed-thumbnail
# Embed info json
--write-info-json
--embed-info-json
# Metadata
--embed-metadata
# Description
--write-description
# Mark Video as watched. May count towards view count.
--mark-watched
- More file examples can be found here
No Comments