In order for the bash script to work. you need to have youtube-dl
installed on your system from here youtube-dl
You need the GNU
version of getopt
for this script to run.
brew install gnu-getopt
brew link --force gnu-getopt
chmod a+x download_egghead_videos.sh
chmod a+x download_egghead_videos.sh
usage: --coursename [--coursename "build-a-react-app-with-redux"] --type [--type "courses|lessons"]
-c | --coursename
: required parameter to supply the course name extracted from the url, i.e. https://egghead.io/courses/get-started-with-elasticsearch the --coursename
would be 'get-started-with-elasticsearch'
-t | --type
: required parameter to specify the type, either courses
or lessons
, extracted from the url as well.
Example
./download_egghead_videos.sh --coursename "build-virtual-reality-experiences-using-react-vr" --type "courses"
Works awesome, thanks ;)
maybe you should add
brew install ffmpeg
;)