Last active
January 10, 2021 08:25
-
-
Save ironbishop/1c14ce0a8044666d9aae72a27cfb6d9a to your computer and use it in GitHub Desktop.
download HSL stream list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
i=0 | |
URL[$i]="https://.../.../....m3u8" | |
TITLE[$i]="... - S01E01 ..." // no extension | |
i=$((i+1)) | |
URL[$i]="..." | |
TITLE[$i]="..." | |
i=$((i+1)) | |
... | |
for ((i=0;i<=${#URL[@]};i++)) ; do echo ffmpeg -i "${URL[i]}" -c copy -bsf:a aac_adtstoasc "${TITLE[i]}.mp4" ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
update: just ditch vdh, the cli etcetc... and use youtube-dl