Stories from the Web Crawling trenches in low-level control

Python requests vs urllib

Author: Mohan Ganesan

Date: Feb 6, 2024

Python provides two modules for making HTTP requests: requests and urllib. Requests simplifies HTTP calls while urllib provides more flexibility.

Simplifying HTTP Requests in Python: Urllib vs. Requests

Author: Mohan Ganesan

Date: Feb 8, 2024

When working with HTTP requests in Python, you have two options: urllib or requests. urllib is low-level but built-in, while requests is simple and intuitive. Use requests for typical tasks and urllib for fine-grained control.

Simplifying HTTP Requests in Python: urllib2 vs urllib vs requests

Author: Mohan Ganesan

Date: Feb 3, 2024

Making HTTP requests in Python: from urllib2 to requests. urllib2 - Python's Default HTTP Client. urllib - A Minor Improvement. requests - A Simple Yet Powerful Library.

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!