How to create a simple parallelized web scraper using Ruby and Async
Build a parallel web scraper in Ruby with the async and async-http gems: fetch many URLs concurrently using Async tasks, a Barrier to wait for results, and a Semaphore capping requests at eight at a time, all in one short script.
Apr 29, 2024