1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-27 09:03:17 +00:00
dotfiles/.local/bin/twitch-dl
Phantop 11fe5f2f40 mpv: decrease zoom/pan, fix twitch-dl, update qute
also use python3 for starship, always supath, open with rifle
2021-03-23 17:31:44 -04:00

7 lines
129 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 $@ "file:$title.mkv"