exyt-dlp - docs

simple Elixir wrapper for the great yt-dlp

usage

all options available to yt-dlp can be passed as as keywords lists:

#sync
options = ["extract-audio", "audio-format": "mp3"]
iex> Exyt.download("https://www.youtube.com/watch?v=bWXazVhlyxQ", options)
{:ok, filename}

#async
options = ["extract-audio", "audio-format": "mp3"]
iex> Exyt.download("https://www.youtube.com/watch?v=bWXazVhlyxQ", options, :async)
{:ok, PID}

pre-requisites:

setup and install yt-dlp in your system: instructionslatest version of yt-dlp is highly recommended

install:

  1. add {:exyt_dlp, "~> 0.1.5"} to your mix.exs file;

  2. mix deps.get

  3. check if everything is up and running:

    iex> Exyt.check_setup
    "Installed yt-dlp version: 2025.08.22\n"
    
  4. take a look at complete documentation and list of available functions with usage examples.

contributing

  1. fork the repo
  2. create your feature branch (git checkout -b feature/branch)
  3. commit your changes (git commit -am added feature x)
  4. push to the branch (git push origin feature/branch)
  5. create a new pull request