The script is intended to be a copy&#x2F;paste script, with no imports and just &quot;Fill in the blanks&quot; parameters. There A LOT of other options that are much better, but require more setup:
<a href="http:&#x2F;&#x2F;scrapy.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;scrapy.org&#x2F;</a>
<a href="https:&#x2F;&#x2F;pypi.python.org&#x2F;pypi&#x2F;spider.py" rel="nofollow">https:&#x2F;&#x2F;pypi.python.org&#x2F;pypi&#x2F;spider.py</a>