Skip to main content

Scrapeless Reader for LlamaIndex

Load completed Scrapeless results as LlamaIndex Document objects. The Reader uses the Scrapeless Python SDK and retains source information for downstream indexing and retrieval.

Install

Use Python 3.10 or later:

python -m pip install llama-index-readers-scrapeless==0.1.0

Set SCRAPELESS_API_KEY to a key from your Scrapeless dashboard. On macOS or Linux:

export SCRAPELESS_API_KEY="YOUR_SCRAPELESS_API_KEY"

Load a page

Save the following as quickstart.py in your working directory:

from llama_index.readers.scrapeless import ScrapelessReader

reader = ScrapelessReader(timeout=120, request_timeout=30)
documents = reader.load_data(
    "scrape",
    params={
        "url": "https://example.com",
        "options": {"formats": ["markdown"], "onlyMainContent": True},
    },
)

for document in documents:
    print("Source:", document.metadata.get("url"))
    print(document.text[:300])

Run python quickstart.py. This sends a live Scrapeless request. Check that the returned text describes the example domain and that the source URL matches the requested page. An empty list means no usable documents were returned. Failed or malformed task results raise an error.

Supported services

Product Reader service Input
Scraping API google_search, scraping Search input, or an actor and its input
Crawl scrape, batch_scrape, crawl Page URL or batch URL list, with optional Crawl settings
Web Unlocker web_unlocker Actor and request input
AI Scraper ai_scraper Actor and engine-specific input

See the Scrapeless Python SDK reference for product inputs. The Reader returns list[Document] across all seven routes. Choose your own LlamaIndex indexing, storage, and model configuration for downstream use.

On a polling timeout or a task result error, retain the original task ID when available. Polling timeout does not cancel the remote job. Inspect the original job before deciding whether to resume it; the Reader does not automatically submit a replacement.

The source distribution includes the repository examples, usage notes, and tests. Download the source archive from the project's PyPI files if you want to run those examples. The installed wheel is sufficient for the standalone quick start above.

For support, contact support@scrapeless.com with the version, reproduction steps, and a sanitized error message.

Metadata

Release files for llama-index-readers-scrapeless 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-readers-scrapeless 0.1.0
File Size Uploaded Provenance Actions
llama_index_readers_scrapeless-0.1.0.tar.gz 457.5 kB With provenance Details for llama_index_readers_scrapeless-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-readers-scrapeless 0.1.0
File Interpreter ABI Platform Actions
llama_index_readers_scrapeless-0.1.0-py3-none-any.whl Python 3 none any Details for llama_index_readers_scrapeless-0.1.0-py3-none-any.whl

Total release size: 470.1 kB

Release files / llama_index_readers_scrapeless-0.1.0.tar.gz

Download URL llama_index_readers_scrapeless-0.1.0.tar.gz
Size 457.5 kB
Tags Source
SHA-256 checksum
How to use checksums
61ec8d6234616158e41da833185d2160368e07fe588f000fcb897fd99102a862
BLAKE2b-256 checksum
How to use checksums
3f46d0935cc8b1fbb251c606a0c7eb8b58489aac1b8baea4bccdd3845b09c66f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / llama_index_readers_scrapeless-0.1.0-py3-none-any.whl

Download URL llama_index_readers_scrapeless-0.1.0-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fbe32cbf416ead4dcff52f153a5cd2375ce52edd62aba1868a12fab347678f09
BLAKE2b-256 checksum
How to use checksums
eb4be375194f502d2fc5e9f306788d78613506dbc89e309024c12bdcdb75b58f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for llama-index-readers-scrapeless 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for llama_index_readers_scrapeless-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page