Skip to content

Commit

Permalink
Add ScrapyZyteAPISpiderMiddleware (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gallaecio authored Jan 18, 2024
1 parent 97b14f3 commit 8969eb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tutorial/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit 8969eb4

Please sign in to comment.