Created
December 18, 2023 18:12
-
-
Save paulschick/db2d04baf1da2167be4c73ad92f9803f to your computer and use it in GitHub Desktop.
Download a YouTube live stream with ytarchive running in the background
This file contains hidden or 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/bash | |
function yt { | |
printf "Downloading stream at:\t'$1'\n" | |
nohup $HOME/go/bin/ytarchive -q -w -o '%(channel)s/%(upload_date)s_%(title)s' "$1" best 2>&1 > ytarchive-"$(date +%Y%m%d-%H%M%S)".log & | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment