Page Loader utility allows to download some page and associated files (img, css, js, etc.) from the Web and save it into specified directory (current directory used by default).
Install via pip
package manager:
pip install --user git+https://github.com/n8creator/python-project-lvl3.git
from page_loader import download
file_path = download('https://www.python.org/', '/var/tmp')
print(file_path) # => '/var/tmp/www-python-org.html'
$ page-loader https://www.python.org/ -o /var/tmp/
# Output
Loading resourses: |████████████████████████████████| 15/15
Output page had been saved to '/var/tmp/www-python-org.html'