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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10ce25c89982f2030d56b56f1d23a893985755f8362ff90faee2ad7fed323c7a
|
|
| MD5 |
7b7976fd6051d27af70f1b53e7813ba1
|
|
| BLAKE2b-256 |
81af4b0df07cbde9afd73f189b11892ec82b97f47c02e907eb8bc60b04b26d79
|
Provenance
The following attestation bundles were made for analog_fetcher-0.1.0.tar.gz:
Publisher:
release-fetcher-python.yml on getanalog/monorepo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
analog_fetcher-0.1.0.tar.gz -
Subject digest:
10ce25c89982f2030d56b56f1d23a893985755f8362ff90faee2ad7fed323c7a - Sigstore transparency entry: 1590972067
- Sigstore integration time:
-
Permalink:
getanalog/monorepo@b43dc93cad81cef471ec1d7dcb4a65e4cd1eb68f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/getanalog
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-fetcher-python.yml@b43dc93cad81cef471ec1d7dcb4a65e4cd1eb68f -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30a1cad8a99d1f18801c3def879fa12584e24554f95cf98c858a7ff5a0810a43
|
|
| MD5 |
d871717e6a488dbedf1c8a7e4f06a04d
|
|
| BLAKE2b-256 |
cebb0c248fba7f4dd4f90a235427a4ca43397fc5cda4f2161feba69357aacd71
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
analog_fetcher-0.1.0-py3-none-any.whl -
Subject digest:
30a1cad8a99d1f18801c3def879fa12584e24554f95cf98c858a7ff5a0810a43 - Sigstore transparency entry: 1590972072
- Sigstore integration time:
-
Permalink:
getanalog/monorepo@b43dc93cad81cef471ec1d7dcb4a65e4cd1eb68f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/getanalog
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-fetcher-python.yml@b43dc93cad81cef471ec1d7dcb4a65e4cd1eb68f -
Trigger Event:
workflow_dispatch
-
Statement type: