Back to Browse

Scrapy Redis: Scaling Your Scrapy Spiders Using Distributed Workers

4.6K views
Dec 15, 2022
17:53

In this video, we look at how you can scale out and speed up your web scraping using multiple workers(Spiders) using scrapy-redis. The article that goes along with this video: https://scrapeops.io/python-scrapy-playbook/scrapy-redis/ Scrapy project used in this tutorial: https://github.com/python-scrapy-playbook/scaling-python-scrapy-redis Where you can sign up for a free cloud Redis instance: https://redis.com/try-free/ Where you can download RedisInsite the Redis desktop manager: https://redis.com/redis-enterprise/redis-insight/ 00:00 - Intro 00:37 - Things to think about when scaling 03:01 - Setting up Redis 05:31 - Adding list of urls to be scraped to Redis queue 08:21 - Scraping with one worker (spider) 12:49 - Scraping with two workers (spiders) 16:59 - Outro

Download

1 formats

Video Formats

360pmp435.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Scrapy Redis: Scaling Your Scrapy Spiders Using Distributed Workers | NatokHD