A CLI program to download a video played using a m3u8 playlist. Read about m3u8 here https://en.wikipedia.org/wiki/M3U#M3U8
pip install -r requirements.txt
after activating virtualenv.git clone "ssh/https url"
.virtualenv -p python3.6 venv
in linux terminal, see 'Dependencies' for platform specific instructions.source venv/bin/activate
in linux terminal, see 'Dependencies' for platform specific instructions.pip install -r requirements.txt
.python -m m3u8dl <url of playlist>
.docker build -t m3u8dl-img .
docker run -d -it --name m3u8dl-app m3u8dl-img
docker exec -it m3u8dl-app bash
python3 -m m3u8dl <url of playlist>
.docker pull excaliburkrv/m3u8-dl
docker pull ghcr.io/excalibur-kvrv/m3u8-dl:master
docker run -d -it --name m3u8dl-app excaliburkrv/m3u8-dl
if pulled from docker hubdocker exec -it m3u8dl-app sh
python3 -m m3u8dl <url of playlist>
.pip install m3u8dl
m3u8-dl <url-of-playlist>
pip uninstall m3u8dl
pip install PyInstaller
source venv/bin/activate
pyinstaller main.py --name m3u8-dl --onefile -p venv/lib/python3.6/site-packages/
in terminal.sudo mv dist/m3u8-dl /usr/local/bin/
in terminal window.m3u8-dl
in the terminalsudo rm /usr/local/bin/m3u8-dl
--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