You were trying to wget a file to a /bin directory and it required su. Destination: asdfmovie-IYnsfV5N2n8.mp3ĭeleting original file asdfmovie-IYnsfV5N2n8.flv (pass -k to stuff$ ls -sh | grep asdfġ.1M stuff$ echo Resolve link for direct download > stuff$. 100.0% of 5.94MiB at 102.53KiB/s ETA stuff$ ls -sh | grep asdfĦ.0M stuff$ echo Download sample video as mp3 if ffmpeg exists > stuff$. IYnsfV5N2n8: Extracting video information
IYnsfV5N2n8: Downloading video info webpage 16:37:10 (91.3 KB/s) - ‘youtube-dl’ saved stuff$ echo Make executable > stuff$ chmod 764 stuff$ echo Download sample video > stuff$. (echo's are just for comment purposes) stuff$ echo Download youtube-dl > stuff$ wget ""
I switched over to linux and successfully completed various tasks without sudo or su -c. I'm not certain why sudo is needed to run youtube-dl. To download/convert youtube videos from a command line (with ffmpeg integration), the aforementioned youtube-dl seems to be the best solution. Convert a media file into another form/type (video->video, video->audio, or audio->audio)ĭownload the open-source and cross-platform Miro Video Converter (implements ffmpeg) "Programmatic access" It doesn't include as many other conversion types as Miro, but you could always convert it with Miro after download if needed. Unlike Miro, however, it includes a built-in video downloader AND converter, one of which is the MP3 format. It, like Miro below, is an open-source and cross-platform application. Out of interest, I checked on new alternatives and discovered ClipGrab. To download a specific youtube video in any format, simply replace the portion of the URL with either or (my personal fav).įor example, a movie with the URL would become Follow the instructions on the download page to complete the conversion and download. Download video in a specific format from youtubeĪ browser and application-inspecific way is to use.