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.0.tar.gz (21.4 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.0-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: analog_fetcher-0.1.0.tar.gz
  • Upload date:
  • Size: 21.4 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.0.tar.gz
Algorithm Hash digest
SHA256 10ce25c89982f2030d56b56f1d23a893985755f8362ff90faee2ad7fed323c7a
MD5 7b7976fd6051d27af70f1b53e7813ba1
BLAKE2b-256 81af4b0df07cbde9afd73f189b11892ec82b97f47c02e907eb8bc60b04b26d79

See more details on using hashes here.

Provenance

The following attestation bundles were made for analog_fetcher-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: analog_fetcher-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30a1cad8a99d1f18801c3def879fa12584e24554f95cf98c858a7ff5a0810a43
MD5 d871717e6a488dbedf1c8a7e4f06a04d
BLAKE2b-256 cebb0c248fba7f4dd4f90a235427a4ca43397fc5cda4f2161feba69357aacd71

See more details on using hashes here.

Provenance

The following attestation bundles were made for analog_fetcher-0.1.0-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