Skip to main content

JS-aware fetcher for Analog — Playwright-based HTML fetching that satisfies the analog.fetcher.Fetcher protocol.

Project description

analog-fetcher

JS-aware fetcher for Analog — Playwright-based HTML rendering for analog-sdk.

Installation

pip install "analog-sdk[fetcher]"   # installs analog-sdk + analog-fetcher
# or
pip install analog-fetcher           # standalone (pulls analog-sdk too)

Then install the browser binaries Playwright uses to render pages:

playwright install chromium

Usage

from analog import analog
from analog_fetcher import PlaywrightFetcher

fetcher = PlaywrightFetcher(wait_for=".loaded", headless=True)
result = analog("https://example.com", fetcher=fetcher)

See https://getanalog.io for full documentation.

License

MIT — see LICENSE.

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

analog_fetcher-0.1.1.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

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

analog_fetcher-0.1.1-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file analog_fetcher-0.1.1.tar.gz.

File metadata

  • Download URL: analog_fetcher-0.1.1.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for analog_fetcher-0.1.1.tar.gz
Algorithm Hash digest
SHA256 46f4d591698cf323f28296580d82d32dc86f84647b3518b93894fad9877e6525
MD5 e3e0758b7f73c238b6e726beb075d9ef
BLAKE2b-256 a1cb58d12c5605bf63c55b70de82855bb05a4cf46075c662c6750d435b2656f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for analog_fetcher-0.1.1.tar.gz:

Publisher: release-fetcher-python.yml on getanalog/monorepo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file analog_fetcher-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: analog_fetcher-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for analog_fetcher-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 759d72ebd7607852fec0ed5ef22ba534a2eaa038970511b3f911686e25c704d5
MD5 81730d301acc446b6963e173846e55b4
BLAKE2b-256 c575808893cb085f0ba87f7d046f86da405b464260e9336b8120779580d1e6ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for analog_fetcher-0.1.1-py3-none-any.whl:

Publisher: release-fetcher-python.yml on getanalog/monorepo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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