Prerequisites
- 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:
# best video and audio -f bestvideo+bestaudio # Just go on even if everything burns -ciw # verbose -v # Thumbnail --write-thumbnail --embed-thumbnail # Add chapters --embed-chapters # Embed info json --write-info-json --embed-info-json # Metadata --embed-metadata # Description --write-description # Comments #--write-comments # Mark Video as watched. May count towards view count. --mark-watched # Merge downloaded video and audio into a mkv file --merge-output-format mkv
- More file examples can be found here