BodneyC / get-ng-page

Download JS rendered Angular pages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular URLs

Finding that I couldn't wget Angular webpages, being that they are mostly JS rendered, I looked to PhantomJS2 for a solution.

Downloading

git clone https://github.com/bodneyc/get-ng-urls.git
cd get-ng-urls
yarn install

Usage

$ yarn start [--outdir <output directory>] [--proxy <url:port>] --url <url> --urllist <file of urls>'

E.g.: $ yarn start --url <url>

Additional Notes

Proxy, provided with the --proxy flag, must contain both protocol and port.

About

Download JS rendered Angular pages


Languages

Language:JavaScript 100.0%