Go to the egghead course URL.
e.g. https://egghead.io/courses/asynchronous-javascript-with-async-await
Click Play Course
run the following script in browser console.
$.each($('.up-next-list-item'), function(index, a){
console.log(a.href);
});
You will get the following list
https://egghead.io/lessons/javascript-write-an-asynchronous-function-with-async-await
https://egghead.io/lessons/javascript-call-an-asynchronous-function-in-a-promise-chain
https://egghead.io/lessons/javascript-convert-any-function-into-an-asynchronous-function
https://egghead.io/lessons/javascript-handle-errors-in-asynchronous-functions
https://egghead.io/lessons/javascript-await-multiple-promises-sequentially-or-concurrently
https://egghead.io/lessons/javascript-await-multiple-promises-concurrently-with-promise-all
https://egghead.io/lessons/javascript-use-the-await-operator-with-any-thenable
https://egghead.io/lessons/javascript-iterate-asynchronously-with-the-for-await-of-loop
Steps:
-
Save as
course-name.txt
-
brew install youtube-dl
-
youtube-dl -a course-name.txt