$ git clone git@github.com:brucebentley/fem-downloader.git
$ cd fem-downloader
$ npm install
Install all the dependencies listed within package.json
in the local node_modules
folder.
Please Note:
ThePuppeteer
installation will download a version of Chromium that is compatible with your OS.
node fem-downloader.js --username <your-username> --password <your-password> --course <course1-slug> [course2-slug] [course3-slug]
Puppeteer
will open a browser window and will log in to Frontend Masters using the provided credentials.- After logging in, it will go to the main page of the course you selected and begin downloading its lessons, one by one.
- The course will be downloaded into the project root, in its own folder, and each lesson will have its slug name.
- Each lesson group will have its separate folder and each lesson will be prepended with a number reflecting its order.
- You can download more than one course by appending their slug after the first one you provide
Copyright © 2019 Bruce Bentley under the MIT License.