Ubuntu – Software to automatically download Youtube videos

software-recommendationyoutube

I'm looking for (free) Ubuntu YouTube software that can perform two tasks (could be separate software):

  • display on screen notification (like transmission does when a download has finished) when a new video has been uploaded to your personal subscription box
  • download videos in max quality (preferably automatically once a new video has been uploaded from specific channels / series)

What I've found so far:

  • All Video Downloader: only downloads manually, can't select quality
  • MiniTube: Doesn't associate with your personal account, doesn't notify when new video has been uploaded from your subscriptions. Annoying GUI. Quite buggy.

If this software doesn't exist yet, I'll try to make it myself.

Best Answer

I don't know about the first, but the second can be easily done with youtube-dl:

sudo apt-get install youtube-dl

I've copied the help text about formating here:

Video Format Options:
    -f, --format FORMAT        video format code, specifiy the order of
                               preference using slashes: "-f 22/17/18"
    --all-formats              download all available video formats
    --prefer-free-formats      prefer free video formats unless a specific one
                               is requested
    --max-quality FORMAT       highest quality format to download
    -F, --list-formats         list all available formats (currently youtube
                           only)

So you can use --max-quality to get the maximum quality format. On a personal note, I find youtube-dl very easy to use (I just type yo and Tab in terminal and it auto-completes it for me). It can also download every video by a specific channel and has a multitude of options.

I believe you can set it to continue downloads with the -c option and if you do that for a channel, it should download only new ones if in the same directory as the others were downloaded to, but have not tried it in practice. If you can, then you can run youtube-dl on a script and it will only download the files when there are new ones.