Version: 0.32.7
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!
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
Use with a GUI through Geniusbot
Visit our GitHub for more information
Installation Instructions with Geniusbot:
Install Python Package
python -m pip install geniusbot