How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Python Asyncio: Understanding Concurrency With a Scraper

calendar_today November 18, 2026 person Iyanuoluwa Ajao domain dzone

Introduction If you need to scrape a few thousand job postings from a careers page, one way to do it is by using a for loop, one request after another: Python import requests def scrape_all(urls): pages = [] for url in urls: response = requests.get(url) # blocks here until the page comes back pages.append(response.text) return pages (The real scraper uses a headless browser rather than requests , but the shape is identical.)

open_in_new Read original post