Async framework for building modular and scalable web scrapers.
Project description
aioscraper
Asynchronous framework for building modular and scalable web scrapers.
Beta notice: APIs and behavior may change; expect sharp edges while things settle.
Key Features
- Fully asynchronous architecture powered by
aiohttpandaiojobs - Modular system with middleware support
- Pipeline data processing
- Flexible configuration
- Priority-based request queue management
- Built-in error handling
Getting started
Install
pip install aioscraper
Create scraper.py:
from aioscraper import AIOScraper
from aioscraper.types import Request, Response, SendRequest
scraper = AIOScraper()
@scraper.register
async def scrape(send_request: SendRequest):
await send_request(Request(url="https://example.com", callback=handle_response))
async def handle_response(response: Response):
print(f"Fetched {response.url} with status {response.status}")
Run it
aioscraper scraper
License
MIT License
Copyright (c) 2025 darkstussy
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 aioscraper-0.8.0.tar.gz.
File metadata
- Download URL: aioscraper-0.8.0.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8513ffb63bbe921165d86535aaee31cb27cedf7539e378a30deffa482cffc22
|
|
| MD5 |
9a22700b53dc1935d3489bdb36673275
|
|
| BLAKE2b-256 |
633f8b4221caa596c576cbaa7ebf3b153793a3136465b6cb2573cd0044b45a21
|
Provenance
The following attestation bundles were made for aioscraper-0.8.0.tar.gz:
Publisher:
release.yml on DarkStussy/aioscraper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aioscraper-0.8.0.tar.gz -
Subject digest:
b8513ffb63bbe921165d86535aaee31cb27cedf7539e378a30deffa482cffc22 - Sigstore transparency entry: 742511058
- Sigstore integration time:
-
Permalink:
DarkStussy/aioscraper@2be93ecf4081f632dd2e438bda68f45921475736 -
Branch / Tag:
refs/tags/0.8.0 - Owner: https://github.com/DarkStussy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2be93ecf4081f632dd2e438bda68f45921475736 -
Trigger Event:
release
-
Statement type:
File details
Details for the file aioscraper-0.8.0-py3-none-any.whl.
File metadata
- Download URL: aioscraper-0.8.0-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bcfe0549a86b379798d15ce6fefdac16257dc848b3f9ca60661a79fcbeecbe5
|
|
| MD5 |
ea85c0899cf28e081989cff237ab9e82
|
|
| BLAKE2b-256 |
18f8dfaff56285817b0a71884aa97d5b91fc1f4b4f5cecf985d26f5b561a1262
|
Provenance
The following attestation bundles were made for aioscraper-0.8.0-py3-none-any.whl:
Publisher:
release.yml on DarkStussy/aioscraper
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aioscraper-0.8.0-py3-none-any.whl -
Subject digest:
5bcfe0549a86b379798d15ce6fefdac16257dc848b3f9ca60661a79fcbeecbe5 - Sigstore transparency entry: 742511060
- Sigstore integration time:
-
Permalink:
DarkStussy/aioscraper@2be93ecf4081f632dd2e438bda68f45921475736 -
Branch / Tag:
refs/tags/0.8.0 - Owner: https://github.com/DarkStussy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2be93ecf4081f632dd2e438bda68f45921475736 -
Trigger Event:
release
-
Statement type: