Download Egghead.io videos using Lynx Browser and youtube-dl. This method will only work for videos that do not require a pro account.
You need a Unix/Linux box with Lynx console browser and Youtube-dl installed.
Installation on Ubuntu(may require sudo)
$ apt-get install lynx
Installation on Fedora(may require sudo)
$ yum install lynx
Installation on Mac OS X(using homebrew)
$ brew install lynx
For all other Operating Systems, use your default package manager.
Official installation docs
https://rg3.github.io/youtube-dl/download.html
The following example should work for Linux and Mac.
- Grab course or Lesson URL from egghead.io page
Examples:
https://egghead.io/courses/leverage-new-features-of-react-16
OR
https://egghead.io/lessons/react-error-handling-using-error-boundaries-in-react-16 - Assign this value to a variable, say 'url'.
$ url=https://egghead.io/courses/leverage-new-features-of-react-16
- Use the below command to download all videos for a course or a given specific lesson depending on the URL you provided in last step.
$ lynx -source $url | grep -P -o 'https?://[^"]*\.m3u8' | xargs -d '\n' -n1 youtube-dl -o "%(title)s.%(ext)s"
Note: Leave a comment if the tool doesn't work.
Tool doesn't work for PRO Lessons