Skip to content

alexiscolin/egghead-scraping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📥 Egghead Scraping

Really simple Egghead video downloader (thanks Puppeteer).

It scrapes every Egghead courses' lessons, create a folder into the download folder and get each video. Curently working with Github auth.

V2 - Replacement of Yield generator function for Array.map in order to parallelize download !

Because Puppeteer scrape the Egghead website thanks to their website DOM structure, it may be impossible to get videos course anymore if they change that structure

Getting Started

  1. Clone the repo,
  2. Change the id, psw and download folder path variables inside the src/env.js file.
  3. Choose the course you want to scrape, copy the course url (eg: https://egghead.io/courses/build-a-desktop-application-with-electron).
  4. Enter the cloned repo folder, then run the magic command yarn get <myCourseURL>. Chromium starts, parses the course and downloads every video.

After the last download, Puppeteer will shut down the browser.

# Exemple -> change the url below by the one you want
yarn get https://egghead.io/courses/build-a-desktop-application-with-electron

TODO

get every lessons that are not in course

About

📥 Puppeteer Egghead video downloader

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published