Skip to main content

A python tool to take screenshots for urls

Project description

WebShoter

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

Or install manually:

1. git clone https://github.com/americo/webshoter
2. cd webshoter
3. python setup.py install

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

Uploaded Source

File details

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

File metadata

  • Download URL: webshoter-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 3bcf36af466e8a6f7e0e6efe2e744c96d74e760f937310c97f7e28ca3df7b3a5
MD5 87f3f4bdb4bb282cfe2ced10808a2f80
BLAKE2b-256 94bfb1c0c562bfd266dd93d5a814294e92e2834f6126a4be10bd59a186f26e8a

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