kevinrvaz / m3u8-dl

A CLI program to download a video played using a m3u8 playlist. Download it here - https://pypi.org/project/m3u8dl/0.5.2/
MIT License
72 stars 20 forks source link
ffmpeg hls-downloader m3u m3u8 m3u8-dl m3u8-download m3u8-downloader m3u8-parser m3u8-videos m3u8dl m3u8dl-cli m3u8download mpeg2-ts python3 video-downloader

m3u8-dl

MIT license PyPI version Docker CodeQL Upload Python Package Downloads

A CLI program to download a video played using a m3u8 playlist. Read about m3u8 here https://en.wikipedia.org/wiki/M3U#M3U8

Dependencies

Usage

Setup without Docker

Setup with Docker

Re-build docker image

Pull exisiting docker image from github packages or docker hub

Installing/Uninstalling Globally

Installation and usage using pip:-

Uninstalling using pip:-

Installation in ubuntu using PyInstaller:-

Uninstalling in ubuntu:-

CLI Options

--help, -h:- display how to use the script
--convert, -c:- specify this flag to convert the video to mp4 using ffmpeg`
--name, -n:- specify the name by which to save the downloaded video, else 'video' is chosen as default name`
--header-path, -p:- specify the path of header file`
--retry, -r:- specify number of retries, by default 5 retries will be initiated
--debug, -d:- print helpful messages to console to understand program flow
--processes, -m:- specify custom number of processes, default is 4
--threads, -t:- specify custom number of threads, default is 4 per process