This is a CLI tool to download web pages with assets to local directory.
To install please write in terminal:
npm -g install hexlet-level3-ya
or
mkdir page-loader
cd page-loader
git clone https://github.com/Badasper/project-lvl3-s382
make install
npm link
To use please write in terminal:
page-loader --output [dirname] url
example:
page-loader --output /home/download/web https://hexlet.io/courses
DEBUG mode:
DEBUG=page-loader* --output /home/download/web https://hexlet.io/courses