Stories from the Web Crawling trenches in request Sessions

Mastering Python Requests Sessions for Power Users

Author: Mohan Ganesan

Date: Oct 22, 2023

The Python requests library provides a powerful Session object for handling HTTP requests. Sessions allow you to persist settings, reuse connections, and handle cookies automatically.

Persistent Headers for Slick Web Scraping with Python Requests Sessions

Author: Mohan Ganesan

Date: Oct 22, 2023

HTTP headers are essential for web scraping. Request sessions and default headers make scraping easier. Authentication and header order are important. Learn to debug and use advanced scraping patterns.

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!