Skip to main content

ELL's Blog

yt-dlp Audio Download Tutorial

Since my yt-dlp propaganda on YouTube is getting many views, I thought I’d create this article and a future video on how to use yt-dlp to download audio from websites, primarily YouTube.

Troubleshooting

For most errors like 403: Forbidden, try upgrading yt-dlp.

pip install --upgrade yt-dlp

Installing yt-dlp
  • Windows download

    • winget install yt-dlp
    • choco install yt-dlp
    • scoop install yt-dlp
  • macOS download

    • brew install yt-dlp
  • Linux download

    • sudo pacman -Syu yt-dlp --noconfirm

    • sudo add-apt-repository ppa:tomtomtom/yt-dlp    # Add ppa repo to apt
      sudo apt update                         # Update package list
      sudo apt install -y yt-dlp              # Install yt-dlp
      
  • Via Python 3+

    • Windows: python -m pip install -U yt-dlp
    • Other: python3 -m pip install -U yt-dlp