playlist-dl is a simple CLI tool for downloading videos from m3u8 playlists, written in Golang for practice.
Prerequisite: Ensure you have Go installed
- Clone the Repository:
git clone https://github.com/richardshank/playlist-dl.git
cd playlist-dl
- Build the CLI:
go build
- Move the Binary to Your PATH:
mv playlist-dl /usr/local/bin/
Prerequisite: Ensure you have Go installed
go install github.com/richardshank/playlist-dl@latest
Download the pre-built binaries for your platform from the releases page
- Download the Binary:
# Check the releases page for the right system and architecture
# MacOS
wget https://github.com/richardshank/playlist-dl/releases/download/0.1.0/playlist-dl-macos-arm64.zip
# Linux
wget https://github.com/richardshank/playlist-dl/releases/download/0.1.0/playlist-dl-linux-amd64.zip
# Windows
wget https://github.com/richardshank/playlist-dl/releases/download/0.1.0/playlist-dl-windows-amd64.zip
- Extract the Binary:
# MacOS
unzip playlist-dl-macos.zip
- Move the Binary to Your PATH:
# MacOS/Linux
mv playlist-dl /usr/local/bin/
# Windows
mv playlist-dl C:\Windows\System32
# or
move playlist-dl C:\Windows\System32
playlist-dl -h
Simple usage of the tool with url to m3u8 playlist:
playlist-dl url "https://YourUrl.m3u8"
Changing the name of the output file:
playlist-dl url "https://YourUrl.m3u8" -o video