Created
February 15, 2017 20:34
-
-
Save Keshava11/7edce546b9074d01fcecfcabe48f708f to your computer and use it in GitHub Desktop.
Youtube downloader script for Ubuntu
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/sh | |
#PreRequisites : zenity, youtube-dl must be installed | |
#Reads the input url from the window | |
youtube_url=$(zenity --entry --title="Download" --text="Enter youtube url" --width=300) | |
echo "Youtube video url is : $youtube_url" | |
#Following command downloads the video | |
youtube-dl -f 22 -cit $youtube_url |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment