Skip to main content

Async framework for building modular and scalable web scrapers.

Project description

aioscraper

aioscraper logo

Asynchronous framework for building modular and scalable web scrapers.

Python License: MIT PyPI Tests Documentation Status GitHub last commit

Beta notice: APIs and behavior may change; expect sharp edges while things settle.

Key Features

  • Fully asynchronous architecture powered by aiohttp and aiojobs
  • Modular system with middleware support
  • Pipeline data processing
  • Flexible configuration
  • Priority-based request queue management
  • Built-in error handling

Documentation

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aioscraper-0.8.0.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

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

aioscraper-0.8.0-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

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

Hashes for aioscraper-0.8.0.tar.gz
Algorithm Hash digest
SHA256 b8513ffb63bbe921165d86535aaee31cb27cedf7539e378a30deffa482cffc22
MD5 9a22700b53dc1935d3489bdb36673275
BLAKE2b-256 633f8b4221caa596c576cbaa7ebf3b153793a3136465b6cb2573cd0044b45a21

See more details on using hashes here.

Provenance

The following attestation bundles were made for aioscraper-0.8.0.tar.gz:

Publisher: release.yml on DarkStussy/aioscraper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for aioscraper-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5bcfe0549a86b379798d15ce6fefdac16257dc848b3f9ca60661a79fcbeecbe5
MD5 ea85c0899cf28e081989cff237ab9e82
BLAKE2b-256 18f8dfaff56285817b0a71884aa97d5b91fc1f4b4f5cecf985d26f5b561a1262

See more details on using hashes here.

Provenance

The following attestation bundles were made for aioscraper-0.8.0-py3-none-any.whl:

Publisher: release.yml on DarkStussy/aioscraper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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