Skip to content

stratofax/pagecap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Capture specified web pages as PNG files of various resolutions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages