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.1.0.tar.gz
(4.9 kB
view details)
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 raspal-0.1.0.tar.gz.
File metadata
- Download URL: raspal-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c06c1c3573e9a80ce6b02a03baad1f35054d8dd1a7730372d686e8b58e51c5d
|
|
| MD5 |
bd0f5b8a6b2782c34eb8b394de2bd367
|
|
| BLAKE2b-256 |
2ef4e4e1969f3897be6d9275a93ae1d17663b9ea2ecb97502f82f80eb7c60da9
|
File details
Details for the file raspal-0.1.0-py3-none-any.whl.
File metadata
- Download URL: raspal-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1db7ac45332580443c437eaf49bd8bebeab66ee639e6c4df4b85e928fb4f6c18
|
|
| MD5 |
e8c1aa930a38677dd2a6c75c7fda2c65
|
|
| BLAKE2b-256 |
d3a7779725475ee1c6cf2b1ffaf9feb01215839c92df42fc00bd2ec57d718459
|