Last active
March 29, 2020 08:00
-
-
Save am5a03/1a1fe1df2e261503b537804af57706fe to your computer and use it in GitHub Desktop.
Download m3u8 with ffmpeg
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/sh | |
URL=$1 | |
OUTPUT=$2 | |
ffmpeg -user_agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.3 Safari/537.86.7" -i "$URL" -c copy "$OUTPUT.mp4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment