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:
add
{:exyt_dlp, "~> 0.1.5"}to your mix.exs file;mix deps.get
check if everything is up and running:
iex> Exyt.check_setup "Installed yt-dlp version: 2025.08.22\n"take a look at complete documentation and list of available functions with usage examples.
contributing
- fork the repo
-
create your feature branch (
git checkout -b feature/branch) -
commit your changes (
git commit -am added feature x) -
push to the branch (
git push origin feature/branch) - create a new pull request