From 8969eb4cf70a38ccf5bb872f8c8bc676c8ebb0de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Thu, 18 Jan 2024 10:32:03 +0100 Subject: [PATCH] Add ScrapyZyteAPISpiderMiddleware (#1) --- tutorial/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tutorial/settings.py b/tutorial/settings.py index 4ed7f4f..69eacf6 100644 --- a/tutorial/settings.py +++ b/tutorial/settings.py @@ -107,6 +107,7 @@ REQUEST_FINGERPRINTER_CLASS = "scrapy_zyte_api.ScrapyZyteAPIRequestFingerprinter" ZYTE_API_TRANSPARENT_MODE = True SPIDER_MIDDLEWARES = { + "scrapy_zyte_api.ScrapyZyteAPISpiderMiddleware": 100, "scrapy_poet.RetryMiddleware": 275, "zyte_spider_templates.middlewares.CrawlingLogsMiddleware": 1000, }