Stories from the Web Crawling trenches in Asynchronous requests

Downloading Files with Python Requests - Tips, Tricks and Code Example

Author: Mohan Ganesan

Date: Oct 31, 2023

Learn how to use Python Requests to download files from the web with ease. Requests provides a simple API for making HTTP calls, supports advanced features like streaming downloads and authentication, and is actively maintained. Use Requests to download files like a pro!

Speed Up Slow requests.get() Calls in Python

Author: Mohan Ganesan

Date: Feb 3, 2024

If you're using Python's requests library, check for network issues, increase timeout value, use asynchronous requests, and optimize slow APIs for better performance.

Using httpx's AsyncClient for Asynchronous HTTP POST Requests

Author: Mohan Ganesan

Date: Feb 5, 2024

The httpx library in Python provides an AsyncClient class that makes it easy to send asynchronous HTTP requests without having to deal with some of the complexity of asyncio directly.

Fetching Images Asynchronously with aiohttp in Python

Author: Mohan Ganesan

Date: Mar 3, 2024

Building web applications in Python with aiohttp for efficient asynchronous requests, including image downloading, streaming responses, and error handling.

Do I need urllib3?

Author: Mohan Ganesan

Date: Feb 20, 2024

Python's urllib3 module provides connection pooling, asynchronous requests, and TLS encryption for better performance in HTTP requests.

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!