Skip to main content

Prerequisites

  1.  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
  2. Download ffmpg with the package manager of your choice. Examples:
    yay ffmpeg
    
    sudo apt install ffmpeg
    
    sudo nala install ffmpeg
  3. Download optional dependencies if necessary from here
  4. Make a directory where your config files will sit
  5. 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
  6. More file examples can be found here