/egghead-video-download

Download Egghead.io video with ease and in highest speed

egghead-video-download

Download Egghead.io video with ease and in highest speed

Prerequesits

  • You need nix box (Mac OS X, Linux ...)
  • You need to download an install youtube-dl to download the videos
  • You need to download and install Aria2c download manager, to accelerate the download process.
  • You need to download and install Lynx console web browser, to dump the links
  • You need to download and install ffmpeg video encoder, to encode video in various formats. this tool will allow to merge audio and video in a single file.

The following example are for Mac OS X

Install youtube-dl using homebrew

$ brew install youtube-dl

Install Lynx using homebrew

$ brew install lynx

Install aria2c using homebrew

$ brew install aria2

Install ffmpeg uding homebrew

$ brew install ffmpeg

Now that we installed all the prerequesits, we are ready to download lessons from Egghead

$ lynx -dump https://egghead.io/courses/intro-to-angular-2-router | awk '/lessons\//{print $2}' | sed '/\?/d' > links.txt

  • Download the video files

$ youtube-dl -c -i -o "%(autonumber)s-%(title)s.%(ext)s" -a links.txt --external-downloader aria2c --external-downloader-args "-j1 -x16 -s16 -k1M"

That's all.