Stories from the Web Crawling trenches in connections

Properly Closing aiohttp Clients and Sessions

Author: Mohan Ganesan

Date: Mar 3, 2024

Properly close aiohttp ClientSession and connections to avoid resource leaks and TCP connection leaks over time.

What is PoolManager in urllib3?

Author: Mohan Ganesan

Date: Feb 20, 2024

Simplifying HTTP requests with PoolManager in Python. PoolManager manages a pool of connections for reusing, improving performance. Customize pool behavior for better resource usage.

Efficient URL Requests with urllib PoolManager

Author: Mohan Ganesan

Date: Feb 6, 2024

Making HTTP requests in Python is common. urllib's PoolManager helps in reusing connections to each host, boosting performance.

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!