Python tool that allows you to take multiple full page screenshots of web pages without ads.
Project description
Webarchive
Version: 0.1.9
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
Build Instructions
Build Python Package
sudo chmod +x ./*.py
sudo pip install .
python setup.py bdist_wheel --universal
# Test Pypi
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
# Prod Pypi
twine upload dist/*
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for webarchiver-0.1.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c0ccfe5df0ee76b588d2c94bbcfa954a76d016c87d04227a174a61cc9c5fb9e |
|
MD5 | e68fc0b09d3192383ddc065a05e5fc21 |
|
BLAKE2b-256 | af5a20267d0fc211ed40541e084b934be6981bcd094ceaf352a2d5a207eafc3a |