git clone https://github.com/LoveEatCandy/m3u8_downloader.git
pip3 install -r requirements.txt
- Ubuntu
sudo apt update sudo apt install -y ffmpeg
if __name__ == "__main__":
urls = {
"file_name_with_out_suffix": "https://path/to/m3u8/index.m3u8",
}
download_hls_and_convert_to_mp4(urls, max_workers=32)
python3 download.py