Stories from the Web Crawling trenches in Python programming

Simplifying HTTP Requests with PoolManager in Python

Author: Mohan Ganesan

Date: Feb 20, 2024

Making HTTP requests in Python is simplified and optimized with PoolManager from the urllib3 library, which handles connection pooling, reducing latency and resource utilization, ensuring thread safety, and abstracting away connection management logic.

Requests vs urllib vs httpx vs aiohttp

Author: Mohan Ganesan

Date: Feb 3, 2024

Making HTTP requests in Python: comparing Requests, urllib, httpx, and aiohttp. Requests is the easiest, urllib is lower-level, httpx adds advanced features, and aiohttp is for asyncio-based code.

Fetching Data from APIs with Python Requests

Author: Mohan Ganesan

Date: Feb 3, 2024

Accessing data from web APIs using Python's Requests library. Learn how to make GET requests, process responses, and handle errors.

Simplifying HTTP Requests in Python: Requests vs urllib3

Author: Mohan Ganesan

Date: Feb 3, 2024

Making HTTP requests in Python: choose between requests and urllib3. Requests is simple and beginner friendly, while urllib3 offers more control and customization.

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!