Python tool that allows you to take multiple full page screenshots of web pages without ads.
Project description
Webarchiver
Version: 0.32.2
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.
This repository is actively maintained - Contributions are welcome!
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 environment: Local / Selenoid Host|Selenoid URL |
-f | --file | Text file to read the URL(s) from |
-l | --links | Comma separated URL(s) |
-i | --image-type | Save images as PNG or JPEG |
-p | --processes | Number of processes to run concurrently |
-s | --scrape | Scrape URL(s) by Downloading |
-u | --url-filter | Filter URL(s) 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"
webarchiver -s -f <links_file.txt> -l "<URL1,URL2,URL3>"
Installation Instructions:
Install Python Package
python -m pip install webarchiver
Repository Owners:
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.32.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dfc9e983a365c589e962e45bda2832b28c32354f96c9f394c8ded5ab25f414d |
|
MD5 | 2b9875fd8e2ed471e0dac978d659fdd6 |
|
BLAKE2b-256 | 3f381523d02b9d1b4e03c433a64e13ca2f9c5ddac02b55f943992ed2313e9b12 |