Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.04 KB

README.md

File metadata and controls

35 lines (21 loc) · 1.04 KB

pagecap

Capture specified URLs as PNG image files.

Requirements

  • Python 3.7 (tested with this version).
  • Python libraries: pip, pipenv (to install and execute); click and selenium.
  • Google Chrome browser (current stable version recommended).
  • The matching Selenium Chrome Driver for your version of Chrome.

Installation

  1. Install pipenv for your account: pip3 install --user pipenv
  2. Use pipenv: pipenv install
  3. Set up the virtual environment: pipenv shell
  4. When you're done, enter: pipenv exit

Your installation will persist, just run pipenv shell to access your virtual environment.

For more information about pipenv, see Basic Usage of Pipenv.

Usage

In your pipenv shell environment, enter

python pagecap https://example.com/sample.html

to create a PNG file of https://example.com/sample.html.

Help: python pagecap --help

More Info

See VERSIONS.md for the version history.