Skip to content

irisraine/python-project-51

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Page loader

Hexlet tests and linter status:

Actions Status Actions Status Actions Status Maintainability Test Coverage

Description

Educational project. The command line utility that provides the ability to save web pages on a local computer for later offline viewing. All of its local resources are saved with the page.

Installation

  1. Clone git repository to your local machine: git clone git@github.com:irisraine/python-project-51.git
  2. Go to the utility directory: cd python-project-51
  3. You must have Poetry to build the project. Use make build command for creating the package.
  4. For installation use python3 -m pip install --user dist/*.whl command, or make package-install

Run

Use command page-loader -o [output] url to download the desired web page to the specified location. By default, without specifying a save directory, the page will be saved to the current working directory. Use optional key -g or --globals for saving all of page's resources, not only local ones. Use -l or --log to enable logging.

If you need a help, use command page-loader -h

Demonstration

Downloading a web-page into a current working directory using default settings: asciicast

Downloading a web-page into a specified location: asciicast

Getting an errors: asciicast

About

Website downloader tool for offline viewing

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published