Python tool that allows you to take multiple full page screenshots of web pages without ads.
Project description
Webarchiver
Version: 0.13.0
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:
One of the following browsers:
- Chrome/Chromium browser
- Firefox
- Selenoid Server
Usage:
Short Flag | Long Flag | Description |
---|---|---|
-h | --help | See Usage |
-b | --browser | Specify browser: Chrome / Firefox / Selenoid |
-c | --clean | Convert mobile sites to regular site |
-d | --directory | Location where the images will be saved |
--dpi | DPI for the image | |
-e | --executor | Execution environmment: Local / Selenoid Host|Selenoid URL |
-f | --file | Text file to read the URLs from |
-l | --links | Comma separated URLs (No spaces) |
-i | --image-type | Save images as PNG or JPEG |
-p | --processes | Number of processes to run concurrently |
-u | --url-filter | Filter URLs that contain this string |
-z | --zoom | The zoom to use on the browser |
Example:
webarchiver -c -f <links_file.txt> -l "<URL1,URL2,URL3>" -i 'jpeg' -d "~/Downloads" -z 100 --dpi 1 --browser "Firefox"
webarchiver -c -f <links_file.txt> -l "<URL1,URL2,URL3>" -i 'png' -d "~/Downloads" -z 100 --dpi 1 --executor "selenoid|http://selenoid.com/wd/hub" --browser "Chrome"
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
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.13.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e91a7b9f821c2f9ecd3c81586de914688f383c1cbc886e800cb65f1518890aa |
|
MD5 | f266a621177bdcba3c8c99b44bcb5c39 |
|
BLAKE2b-256 | 00d981cd3e55c5e9669ccc93bf1ee7b12a9ebb02312c023505e97e54d107492b |