Skip to content

altvec/python-project-lvl3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Page loader

Github Actions Status wemake-python-styleguide Maintainability Test Coverage

This is a CLI utility for downloading the specified webpage from the Internets.

Installation

pip install --user --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ altvec-page-loader

Usage

usage: page-loader [-h] [-o OUTPUT] [-l {INFO,DEBUG}] url

Page loader

positional arguments:
  url

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        set output directory
  -l {INFO,DEBUG}, --log-level {INFO,DEBUG}
                        set log level

Downloading simple webpage

page-loader --output . http://example.com

asciicast

Downloading webpage with local resources

page-loader -o /tmp/ https://ru.hexlet.io/courses

asciicast

Downloadig webpage with local resources and DEBUG mode

page-loader -o /tmp/ -l DEBUG https://ru.hexlet.io/courses

asciicast

About

This is the third of four training projects on the Python Software Developer course on Hexlet.io

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •