Skip to main content

A reusable Python scraping toolkit — Scrapling + Playwright + LLM extraction via Ollama

Project description

Raspal

A reusable Python scraping toolkit combining Scrapling, Playwright, and LLM extraction via Ollama.

Install

pip install raspal

Quickstart

# Fetch and extract text from a URL
raspal fetch https://example.com

# Run a scraping pipeline from a YAML config
raspal run config.yaml

Features

  • Adaptive engine: auto-detects between Scrapling (fast) and Playwright (JS-heavy)
  • SQLite-based request cache with TTL
  • Layered text extraction (trafilatura-style)
  • LLM-powered structured extraction via Ollama
  • YAML-configured pipelines

License

MIT

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

raspal-0.4.0.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

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

raspal-0.4.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file raspal-0.4.0.tar.gz.

File metadata

  • Download URL: raspal-0.4.0.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.9

File hashes

Hashes for raspal-0.4.0.tar.gz
Algorithm Hash digest
SHA256 bfde69a8e72c36d8e39095708057e98fb4b5613edb50794b886d7cdbb0c94af4
MD5 4647185fbfa4f91f4df1b48974efddaf
BLAKE2b-256 eeefd8446f36070886f70361c1120ff09221fe1cf7205525e564fddb0f2a0b2e

See more details on using hashes here.

File details

Details for the file raspal-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: raspal-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.9

File hashes

Hashes for raspal-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5b4f6908e603be73650509c4f0fa959e4a4ca91a942a743cd966d3078ce5584
MD5 c4ca9f52431b3fd9ef8cc064e56a2162
BLAKE2b-256 64f3c6b8bd0289b9e1b0f8b7fd0eb35fd1348715e6eb6175ed2eaee5d2d0c5aa

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