Skip to content

Instantly share code, notes, and snippets.

@ironbishop
Last active January 10, 2021 08:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ironbishop/1c14ce0a8044666d9aae72a27cfb6d9a to your computer and use it in GitHub Desktop.
Save ironbishop/1c14ce0a8044666d9aae72a27cfb6d9a to your computer and use it in GitHub Desktop.
download HSL stream list
#!/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
@ironbishop
Copy link
Author

update: just ditch vdh, the cli etcetc... and use youtube-dl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment