Stories from the Web Crawling trenches in async functions

How asyncio works in Python?

Author: Mohan Ganesan

Date: Mar 24, 2024

Python's asyncio module allows for writing concurrent code using async/await syntax. It provides an event loop, async functions, and the ability to run awaitables concurrently with asyncio.gather().

Building Asynchronous Web APIs with aiohttp Views

Author: Mohan Ganesan

Date: Mar 3, 2024

The aiohttp library in Python provides tools for building asynchronous web applications. A key component is aiohttp views, which allow you to write handler functions for incoming requests similarly to how you would with a traditional web framework like Flask or Django.

Tired of getting blocked while scraping the web?

ProxiesAPI handles headless browsers and rotates proxies for you.
Get access to 1,000 free API credits, no credit card required!