The example in this directory was taken from Scrapy's tutorial page and modified to integrate with Till.
To integrate with Till, we only need to do two things:
- On middlewares.py file, add the
TillMiddleware
class. - On settings.py file, enable the downloader middlewares and add the
tutorial.middlewares.TillMiddleware
key.
Follow the instructions to install Till
# Install Scrapy
$ pip install scrapy
# On the tutorial directory, run:
$ scrapy crawl quotes
Visit the Till UI at http://localhost:2980/requests to see that your new requests are shown.