From 8ad4d67d84e648231d1a9cf8f9aa3d5eb00a51da Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Thu, 5 Oct 2023 16:18:38 -0400 Subject: [PATCH] Support binary payloads when downloading an m3u8 --- .aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.aliases b/.aliases index d9badd6..be810c6 100644 --- a/.aliases +++ b/.aliases @@ -953,7 +953,7 @@ download_mp4_from_m3u8() { fi printf "${BOLD}Downloading: ${YELLOW}$filename${NORMAL}\n" - ffmpeg.exe -protocol_whitelist file,https,crypto,tls,tcp -i $m3u8_path -acodec copy -vcodec copy "${filename}.mp4" + ffmpeg.exe -protocol_whitelist file,data,https,crypto,tls,tcp -allowed_extensions ALL -i $m3u8_path -acodec copy -vcodec copy "${filename}.mp4" if [[ $? -ne 0 ]]; then error "Error: failed to download."