Skip to main content

Python tool that allows you to take multiple full page screenshots of web pages without ads.

Project description

Webarchiver

Version: 0.3.1

Python tool that allows you to take full page screenshots of pages without ads

Supports batching by adding multiple links in a text file, or my adding links to command line separated by commas.

Requirements:

  • Chrome/Chomium browser

Usage:

Short Flag Long Flag Description
-h --help See Usage
-c --clean Convert mobile sites to regular site
-d --directory Location where the images will be saved
--dpi DPI for the image
-f --file Text file to read the URLs from
-l --links Comma separated URLs (No spaces)
-t --type Save images as PNG or JPEG
-z --zoom The zoom to use on the browser

Example:

webarchiver -c -f <links_file.txt> -l "<URL1,URL2,URL3>" -t <JPEG/PNG> -d "~/Downloads" -z 100 --dpi 1

Install Instructions

Install Python Package

python -m pip install webarchiver

Build Instructions

Build Python Package

sudo chmod +x ./*.py
pip install .
python setup.py bdist_wheel --universal
# Test Pypi
twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose -u "Username" -p "Password"
# Prod Pypi
twine upload dist/* --verbose -u "Username" -p "Password"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

webarchiver-0.3.1-py2.py3-none-any.whl (5.9 MB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page