pip3 install --upgrade git+https://github.com/mnogom/python-project-lvl3.git
- From command line
usage: page-loader [-h] [-o OUTPUT] [-d] url
Page loader
positional arguments:
url URL
optional arguments:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
destination for download
-d, --debug activate DEBUG mode
- From Python
import page_loader
page_loader.download("https://some_url.com/some_page", "path/to/file")
- Download main page and all relative references
- Progress bar
- Debug mode (enable all logger messages)
See examples below