The script can be embedded into the page content using the AddJS extension. The script will collect links to video tutorials on the egghead.io page.
- Install AddJS extension
- Run
yarn get
to create an inline script - Add
dist/deploy.js
script to AddJS for domain egghead.io - Click the
o
button in the upper left corner - Click the copy button that appears if the page content is parsed successfully
- Create a new text file (for example list.txt) and paste the clipboard into it
- Run
youtube-dl -a list.txt
- All files in the list will be downloaded
-
Run
yarn dev
to develop.- copy the
dist/deploy.js
script content - paste into AddJS extension on egghead.io domain
- reload the webpage
- copy the
-
Run
yarn get
to build javascript file that you can embed. The generated deploy.js script is located in the dist folder.