This is a training project. The utility loads the HTML page and resources.
The capability of the utility:
- Specify the local directory for loading the page (by default it will be loaded into the current directory).
- Specify the address of the page you want to download. The application will download an html file along with resources (images, styles, scripts), replacing the links with local ones.
- Clone the repository
git clone https://github.com/EuRV/fullstack-javascript-project-4- Install dependencies
cd fullstack-javascript-project-4
make install- Install project
make link[...@fedora fullstack-javascript-project-4]$ page-loader -h
Usage: page-loader [options] <link>
Downloads the page from the web and puts it in the specified directory
Options:
-V, --version output the version number
-o, --output [path] output path (default: "/...")
-h, --help display help for commandpage-loader -o page-loader https://page-loader.hexlet.repl.copage-loader https://page-loader.hexlet.repl.co