Stories from the Web Crawling trenches in query parameters

Working with Query Parameters in Python Requests

Author: Mohan Ganesan

Date: Oct 22, 2023

Query parameters are essential for making API calls and web scraping in Python. Learn how to pass and access query parameters using the Requests library.

Encoding URLs with Python's urllib

Author: Mohan Ganesan

Date: Feb 6, 2024

Python's urllib library provides a simple way to encode special characters and spaces in URLs using urlencode.

Passing Data in URLs with urllib Query Parameters in Python

Author: Mohan Ganesan

Date: Feb 8, 2024

Pass data through URLs using query parameters in Python's urllib module for HTTP requests.

Splitting URLs for Effective Parsing with Python's urllib

Author: Mohan Ganesan

Date: Feb 8, 2024

When working with URLs in Python, it's often useful to split a URL string into its individual components. The urllib module provides tools to accomplish this via the urllib.parse.urlsplit() function.

Getting Data out of URLs in 5 Easy Steps in Python

Author: Mohan Ganesan

Date: Feb 20, 2024

URLs contain structured data. Learn how to parse, extract query parameters, validate hostnames, extract path components, and reconstruct URLs efficiently.

Simplifying URL Responses with urllib's parse_http_list

Author: Mohan Ganesan

Date: Feb 8, 2024

The urllib library in Python provides tools for working with URLs and HTTP responses. parse_http_list() simplifies parsing query parameters and response headers.

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!