Skip to content

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

Remove the leftover KEEP_ALIVE setting from scrapy shell (#7928)

Adrian38f6e3cfd19c
diff --git a/scrapy/commands/shell.py b/scrapy/commands/shell.py
index 19138ffd0..52be1aadf 100644
--- a/scrapy/commands/shell.py
+++ b/scrapy/commands/shell.py
@@ -27,7 +27,6 @@ if TYPE_CHECKING:
class Command(ScrapyCommand):
default_settings: ClassVar[dict[str, Any]] = {
"DUPEFILTER_CLASS": "scrapy.dupefilters.BaseDupeFilter",
- "KEEP_ALIVE": True,
"LOGSTATS_INTERVAL": 0,
}