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.0.tar.gz (4.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: webshoter-1.0.0.tar.gz
  • Upload date:
  • Size: 4.1 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.0.tar.gz
Algorithm Hash digest
SHA256 cbdcc46abd29f691bc3abe2ac6529b46939bb924eee72834c9fdfcc453d06b90
MD5 b558cf9a59d9ea699f0192999850d4de
BLAKE2b-256 787ce44803af197ca9a4f6c6bb3448af1ce151fdd947c5e4843245b511d65e36

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