Stories from the Web Crawling trenches in http.client

Logging and Debugging with Requests

Author: Mohan Ganesan

Date: Oct 22, 2023

Guide to enable detailed logging and debugging with Requests library in Python for HTTP requests using urllib3 and http.client.

Speed Up HTTP Requests: When to Use http.client over requests

Author: Mohan Ganesan

Date: Feb 3, 2024

Python offers options for HTTP requests with http.client and requests. http.client is faster for simple requests, while requests is more feature-rich. Use http.client for speed and requests for complex applications.

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!