Scrapy lets us pass in arguments very easily when running our spiders. One use for this is to change categories or certain parameters of the URL being scraped. In this example I'll show you the most basic used of arguments and pass in different teams and sports to an online shops URL, getting us different data.

Support Me:

# Patreon: https://www.patreon.com/johnwatsonrooney (NEW)
# Amazon US: https://amzn.to/2OzqL1M
# Amazon UK: https://amzn.to/2OYuMwo
# Hosting: Digital Ocean: https://m.do.co/c/c7c90f161ff6
# Gear: https://jhnwr.com/gear/ (NEW)

-------------------------------------
Disclaimer: These are affiliate links and as an Amazon Associate I earn from qualifying purchases
-------------------------------------

# Timestamps
00:00 Intro
00:28 Code Explanation
01:12 Run Spider
02:00 Add Args
04:07 Multiple Args
05:13 Common uses
06:27 Outro