Skip to main content

Async framework for building modular and scalable web scrapers.

Project description

aioscraper

Asynchronous framework for building modular and scalable web scrapers.

Python License: MIT Version

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

Installation

pip install aioscraper

Requirements

  • Python 3.10 or higher
  • aiohttp
  • aiojobs

Quick Start

import asyncio

from aioscraper import AIOScraper
from aioscraper.types import Request, SendRequest, Response


async def scraper(send_request: SendRequest) -> None:
    await send_request(Request(url="https://example.com", callback=handle_response))


async def handle_response(response: Response) -> None: ...


async def main():
    async with AIOScraper(scraper) as s:
        await s.start()


if __name__ == "__main__":
    asyncio.run(main())

License

MIT License

Copyright (c) 2025 darkstussy

Links

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.7.0.tar.gz (14.6 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.7.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file aioscraper-0.7.0.tar.gz.

File metadata

  • Download URL: aioscraper-0.7.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aioscraper-0.7.0.tar.gz
Algorithm Hash digest
SHA256 ea2c1fbb21a868c00a94aac5837f08ba57f1f05eddc0f93fa73bd406594a815a
MD5 ac9efbf30bc5667b91e578e09414a8da
BLAKE2b-256 a047d6fc8d542aeefc64de9c35b8e10ffc69a266ac68b7fa9ad7a81d8e2fde8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for aioscraper-0.7.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.7.0-py3-none-any.whl.

File metadata

  • Download URL: aioscraper-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 17.1 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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 156cf3239c8b5d8d802a2c6f39260da5328fec81fd5b50bc67ae60a89a749a9c
MD5 f84e5654f5213be3438ba5c93f4c9160
BLAKE2b-256 990447d5ca89eee84c06d3198c775486be79564d0dedd9267b12ec51e4584222

See more details on using hashes here.

Provenance

The following attestation bundles were made for aioscraper-0.7.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