2.0.0 • Published 4 years ago

frontend-master-downloader v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Frontend-Master-Downloader

Greenkeeper badge

Download content from frontendmaster with puppeteer

Usage

Requirements

  • Node v7.6.0 or greater
  • Google Chrome
  • ChromeDriver - WebDriver for Chrome

The latest version of Chrome webdriver can be found at link below and the Setup instruction can also be found at the same page,

https://sites.google.com/a/chromium.org/chromedriver/downloads

Setup Chromedriver (macOS)

cp chromedriver /usr/local/bin/chromedriver

Try it

npm install frontend-master-downloader -g

Set Cookie

Your first need to set a cookie. Use the chrome or firefox extension EditCookie. Log to frontendmaster with your login and password and use this extension to export the cookie. Save in the current directory to the name cookie.json

frontend-master-downloader -u <COURSE_NAME> -i <COURSE_ID(optional)> -d <DIRECTORY(optional)>

Directory is optional, if not provided, the script will create a Download directory in the current location.

Example

frontend-master-downloader -c leveldb-crypto
2.0.0

4 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago