A NodeJS application to download website's content
- Pull this repo
- Run
npm install
to download dependencies - Run
node index.js <start_url> [download_location] [environment]
to start downloading data
This tool will perform below steps:
- Open a website
- Login
- Go to target site, then download content
- Click "next" button, then download content
- Exit if "next" button is not available
You can pull the code and customize steps if needed.
By default, config.json
will be loaded as app configuration. You can specify your own environment to load appropriate file
e.g. if environment=local
, config.local.json
will be loaded.