Skip to content

PageLoader is a command line utility that downloads pages from the Internet and saves them to your computer.

Notifications You must be signed in to change notification settings

NNbaur/python-project-lvl3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status Actions Status

Description


PageLoader is a command line utility that downloads pages from the Internet and saves them to your computer. Together with the page, it downloads all the resources (images, styles and js) making it possible to open the page without the Internet.

How to install


pip install git+https://github.com/NNbaur/python-project-lvl3.git

or

$ git clone https://github.com/NNbaur/python-project-lvl3 
$ cd ProjectDirectory
$ make install
$ make build
$ make package-install

Usage


As external library

from page_loader.build_path.loader import download

down = download(site, directory)

# directory: default - current directory

As CLI tool

page-loader [-h] [-o OUTPUT] site_adress

Page loader

positional arguments:
  site_adress

options:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        set directory path

How to work page-loader:

asciicast

About

PageLoader is a command line utility that downloads pages from the Internet and saves them to your computer.

Resources

Stars

Watchers

Forks

Packages

No packages published