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.
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
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:
This tool is distributed under the MIT License. See the LICENSE file for more information.