Stories from the Web Crawling trenches in timeout parameter

How to Handle Timeout error in Python requests

Author: Mohan Ganesan

Date: Oct 22, 2023

Timeouts are critical for making requests in Python. They prevent hanging requests and wastage of resources. The requests library provides flexible ways to set timeouts globally or per-request.

Using Python Requests to Ping an IP Address

Author: Mohan Ganesan

Date: Feb 3, 2024

The Python Requests library provides a simple way to ping an IP address and check if it is reachable. This guide covers how to ping an IP address with Requests and handle errors gracefully.

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!