Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Fix typo in documentation and code: 'needs_backoff' -> 'needs_backout' (#6815)

Keval Sakhiya43087fe1df5b
diff --git a/docs/topics/spiders.rst b/docs/topics/spiders.rst
index 891c4da05..8240d5d4b 100644
--- a/docs/topics/spiders.rst
+++ b/docs/topics/spiders.rst
@@ -388,7 +388,7 @@ its iteration whenever there are scheduled requests:
async def start(self):
async for item_or_request in super().start():
- if self.crawler.engine.needs_backoff():
+ if self.crawler.engine.needs_backout():
await self.crawler.signals.wait_for(signals.scheduler_empty)
yield item_or_request