Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 905 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 905 Bytes

Integrating Till with Scrapy

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:

  1. On middlewares.py file, add the TillMiddleware class.
  2. On settings.py file, enable the downloader middlewares and add the tutorial.middlewares.TillMiddleware key.

1. Install Till

Follow the instructions to install Till

2. Run the example

# Install Scrapy
$ pip install scrapy
# On the tutorial directory, run:
$ scrapy crawl quotes

3. Verify that it works

Visit the Till UI at http://localhost:2980/requests to see that your new requests are shown.