Skip to content

Instantly share code, notes, and snippets.

@jazlopez
Created February 25, 2023 01:39
Show Gist options
  • Save jazlopez/d9628d7e7aa18e714d35ff0f2336b463 to your computer and use it in GitHub Desktop.
Save jazlopez/d9628d7e7aa18e714d35ff0f2336b463 to your computer and use it in GitHub Desktop.
yt-dlp in loop bash script
__URL__=""
while :
do
printf "${GREEN_FG}"
printf "╭─ \n"
printf "│ URL: \n"
printf "╰─○ \n"
tput cuu 2
tput cuf 10
read
printf "${RESET}"
yt-dlp "${REPLY}"
sleep 1
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment