Skip to content

adamchol/playlist-dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

playlist-dl CLI

playlist-dl is a simple CLI tool for downloading videos from m3u8 playlists, written in Golang for practice.

Installation

Install From Source with Go

Prerequisite: Ensure you have Go installed

  1. Clone the Repository:
git clone https://github.com/richardshank/playlist-dl.git
cd playlist-dl
  1. Build the CLI:
go build
  1. Move the Binary to Your PATH:
mv playlist-dl /usr/local/bin/

Install Using Go Install

Prerequisite: Ensure you have Go installed

go install github.com/richardshank/playlist-dl@latest

Install with Pre-built Binaries

Download the pre-built binaries for your platform from the releases page

  1. 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
  1. Extract the Binary:
# MacOS
unzip playlist-dl-macos.zip
  1. 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

Verify the Installation

playlist-dl -h

Usage

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