Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

stratofax/pagecap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pagecap

⚠️ ARCHIVED PROJECT: This repository is no longer actively maintained. The functionality provided here has been superseded by more capable modern tools like Playwright, which offers cross-browser support, better screenshot APIs, and active development. Consider using playwright screenshot or the Playwright API for your web capture needs.

Capture specified URLs as PNG image files.

Requirements

  • Python 3.12+ (requires modern Python for security updates).
  • 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

 
 
 

Contributors

Languages