Stories from the Web Crawling trenches in decode

Decoding URL Responses with Python's urllib

Author: Mohan Ganesan

Date: Feb 8, 2024

Convert between bytes and strings in Python's urllib module using encode() and decode(). Specify correct encoding to avoid errors.

Accessing Array Data in URLs with Python's urllib

Author: Mohan Ganesan

Date: Feb 6, 2024

Python's urllib provides simple utilities to encode array data into URLs and restore it on the other end.

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!