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.3.0.tar.gz
(10.1 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
raspal-0.3.0-py3-none-any.whl
(12.1 kB
view details)
File details
Details for the file raspal-0.3.0.tar.gz.
File metadata
- Download URL: raspal-0.3.0.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eff8c88dac9e9ca685a86eb401d2cde0107efa4ad277879b7882004220367581
|
|
| MD5 |
eb1524deffbd7ce5fba62c7cf42dd606
|
|
| BLAKE2b-256 |
c34bbe8d28e6efc148bba4e53d2ff57288b35cd100b41b63c22de2de5773b06f
|
File details
Details for the file raspal-0.3.0-py3-none-any.whl.
File metadata
- Download URL: raspal-0.3.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35b92ae5116c9070e31e0c418cb07c763b28a5eb0a793ca25baf2c306c79ce57
|
|
| MD5 |
2c394235b3a752ca13b3a1ce5d668f2d
|
|
| BLAKE2b-256 |
dd2f19027d8b74a375c7eca130465b5156f1a45a5058fc49b793b310190ef676
|