Skip to main content

A package for capturing website screenshots using Pyppeteer.

Project description

Web Capture

Web Capture is a Python tool for capturing screenshots of web pages in batch. This tool was independently developed by ChatGPT3.5 based on the provided ideas. Further improvements and new features will be added in the future.

Installation

You can install WebCapture using pip:

pip install webcapture

Usage

Here is an example of how to use WebCapture:

import asyncio
from webcapture import WebCapture

wc = WebCapture(800, 1800)
url = 'https://www.example.com'
folder_path = 'screenshots'
file_name = 'filename'
asyncio.run(wc.capture_website_screenshots(url, folder_path, file_name))

Web Capture

Web Capture是用于批量捕获网页截图的Python工具。该工具由基于提供的想法独立开发的ChatGPT3.5。未来将添加进一步改进和新功能。

安装

您可以使用pip安装WebCapture:

pip install webcapture

使用

这是使用WebCapture的示例:

import asyncio
from webcapture import WebCapture

wc = WebCapture(800, 1800)
url = 'https://www.example.com'
folder_path = 'screenshots'
file_name = 'filename'
asyncio.run(wc.capture_website_screenshots(url, folder_path, file_name))

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

webcapture-0.1.6.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

webcapture-0.1.6-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file webcapture-0.1.6.tar.gz.

File metadata

  • Download URL: webcapture-0.1.6.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for webcapture-0.1.6.tar.gz
Algorithm Hash digest
SHA256 2283e21928ae039e9eddfa8dbcfc91555a5996aeda5d1347651b5bcb136b2d28
MD5 729a7f1d584f13d4b7f1c676f9729914
BLAKE2b-256 0396d041f9a4ff62719ecdb372102c2d41c83801c7292facbedd1047327f16d1

See more details on using hashes here.

File details

Details for the file webcapture-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: webcapture-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for webcapture-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c99c3d25ab9efb92f5f4ac99c237361c60d2826b66ad34fb82d8a34c1af16c54
MD5 941033e801696058422b8a1e0053b5cd
BLAKE2b-256 322792874d8a3053d0695e8cd5798b2728e4234579a51d261a9b34548c1152b6

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