1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-27 00:53:17 +00:00
dotfiles/.local/bin/twitch-dl

7 lines
126 B
Bash
Executable file

#!/bin/sh
title=$(youtube-dlc -e $1 | sed 's|/|_|g')
link=$(youtube-dlc -g $1)
shift
ffmpeg -i $link -c copy $@ "$title.mkv"