Skip to content

πŸ’‘ [Feature]: Implement Async I/O for Web Scraping ScriptsΒ #971

@knoxiboy

Description

@knoxiboy

❓ Problem Statement

If any of the mini-projects involve downloading data from the internet or web scraping, they likely use synchronous requests. This makes them extremely slow, as the CPU sits idle while waiting for network responses.

πŸš€ Proposed Enhancement

Refactor network-bound scripts to use asyncio and aiohttp. This will allow the scripts to fetch multiple URLs concurrently, drastically improving performance.

πŸ› οΈ Suggested Implementation

  1. Identify scripts making HTTP requests.
  2. Replace requests.get() with aiohttp.ClientSession().get().
  3. Use asyncio.gather() to execute requests concurrently.

Additional Notes

  • I am a registered GSSoC 2026 contributor.
  • I would like to implement this feature myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions