Stories from the Web Crawling trenches in context

Setting Cookies Early with aiohttp Requests

Author: Mohan Ganesan

Date: Feb 22, 2024

Set cookies early in aiohttp requests to ensure proper inclusion and prevent unexpected errors or login pages.

Configuring Headers with aiohttp Clients for Effective API Calls

Author: Mohan Ganesan

Date: Feb 22, 2024

Properly configuring headers in aiohttp is crucial for smooth API requests. Headers serve purposes like authentication, context, security, and caching.

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!