Stories from the Web Crawling trenches in client errors

Understanding HTTP Status Codes with Python Requests

Author: Mohan Ganesan

Date: Oct 22, 2023

Making HTTP requests is a fundamental task in many Python applications. HTTP status codes provide meaningful insight into API responses. Handle different status code classes properly in your application.

Handling Client Errors with aiohttp

Author: Mohan Ganesan

Date: Feb 22, 2024

When building applications with aiohttp, it is important to handle client errors properly. Use the ClientResponseError exception and status code to identify client errors and implement custom error handling logic for expected cases.

Handling HTTP Status Codes Gracefully with Python Requests

Author: Mohan Ganesan

Date: Feb 3, 2024

Python Requests library simplifies working with web APIs and handling HTTP status codes. Properly handling status codes is crucial for robust Python code.

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!