Skip to main content

A python tool to take screenshots for urls

Project description

Screenshot Tool

This tool takes screenshots of websites and saves them to a specified output directory in PNG format. It uses a headless browser to render the website and take the screenshot.

Installation

Before using the tool, make sure you have Python 3 installed on your system. You can download Python from the official website: https://www.python.org/downloads/

Once you have Python installed, you can install the webshoter package using pip:

pip install webshoter

Usage

To take a screenshot of a single website, use the following command:

webshoter -u <url> -o <output_dir>
echo "<url>" | webshoter -o <output_dir>

To take a screenshot of a list of websites, use the following command:

cat urls.txt | webshoter -o <output_dir>

Replace <url> with the URL of the website you want to take a screenshot of, and <output_dir> with the directory where you want to save the screenshot.

To take screenshots of multiple websites at once, you can provide a list of URLs separated by newlines. For example:

License

This tool is distributed under the MIT License. See the LICENSE file for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

webshoter-1.0.1.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file webshoter-1.0.1.tar.gz.

File metadata

  • Download URL: webshoter-1.0.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for webshoter-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b50bdfbd860db31da8c707cec16e4f3f6c9775e2dee25e2e513e4b2a4e52a007
MD5 9f2ef57955656c651ed7c1534f685668
BLAKE2b-256 de880d797b6cb99b264cfdc7f70195bc9293cec6b8818ba2b9228212c274ae19

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