Skip to main content

Python tool that allows you to take multiple full page screenshots of web pages without ads.

Project description

Webarchiver

PyPI - Version PyPI - Downloads GitHub Repo stars GitHub forks GitHub contributors PyPI - License GitHub

GitHub last commit (by committer) GitHub pull requests GitHub closed pull requests GitHub issues

GitHub top language GitHub language count GitHub repo size GitHub repo file count (file type) PyPI - Wheel PyPI - Implementation

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!

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

Geniusbot Application

Use with a GUI through Geniusbot

Visit our GitHub for more information

Installation Instructions with Geniusbot:

Install Python Package

python -m pip install geniusbot
Repository Owners:

GitHub followers GitHub User's stars

Project details


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

If you're not sure about the file name format, learn more about wheel file names.

webarchiver-0.32.7-py2.py3-none-any.whl (5.9 MB view details)

Uploaded Python 2Python 3

File details

Details for the file webarchiver-0.32.7-py2.py3-none-any.whl.

File metadata

  • Download URL: webarchiver-0.32.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.9 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for webarchiver-0.32.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c5f6ed2ec683a741fc8a2d5f65fb4c54ea411fcd09466fd07f2d72ae84513b27
MD5 a427ce8388972354f7b1c41bfb95f326
BLAKE2b-256 9f8ef82b200da4a91b44baa9971991f0b3a1c2b41f7d78ffb6d0f885c524b689

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page