Python tool that allows you to take multiple full page screenshots of web pages without ads.
Project description
Webarchive
Version 0.1.4
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 .
python3 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.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80f046d5a748801d3898512320f270c0e85b3ba0df85be932a28e958f6ece0e7 |
|
MD5 | fe520c0faf8138f713ea164b4dcf7fec |
|
BLAKE2b-256 | cb9662167e1dae1ce9c77e499e90ed9ac0f089ed5f9388734e2596b947349c1e |