1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-23 15:23:15 +00:00
dotfiles/.local/bin/twitch-dl
Phantop 05337cb26d Miscellaneous command/package/redirect fixes
Also adds the mpv-mpris library/script back
2021-03-03 14:41:09 -05:00

7 lines
124 B
Bash
Executable file

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