Scrapy, a fast high-level web crawling & scraping framework for Python.
Changed BaseRunSpiderCommands to BaseRunSpiderCommand
Jay Rajput4cdd00e21f4b
diff --git a/scrapy/commands/__init__.py b/scrapy/commands/__init__.pyindex 0ddbf2ca0..81fae089b 100644--- a/scrapy/commands/__init__.py+++ b/scrapy/commands/__init__.py@@ -107,7 +107,7 @@ class ScrapyCommand:raise NotImplementedError-class BaseRunSpiderCommands(ScrapyCommand):+class BaseRunSpiderCommand(ScrapyCommand):"""The BaseRunSpiderCommands class inherits the ScrapyCommand class and it Used forperforming common functionality between crawl.py and runspider.pydiff --git a/scrapy/commands/crawl.py b/scrapy/commands/crawl.pyindex c39c5a9ef..e1724c1e6 100644--- a/scrapy/commands/crawl.py+++ b/scrapy/commands/crawl.py@@ -1,8 +1,8 @@-from scrapy.commands import BaseRunSpiderCommands+from scrapy.commands import BaseRunSpiderCommandfrom scrapy.exceptions import UsageError-class Command(BaseRunSpiderCommands):+class Command(BaseRunSpiderCommand):requires_project = Truediff --git a/scrapy/commands/runspider.py b/scrapy/commands/runspider.pyindex bd24a369e..befee021b 100644--- a/scrapy/commands/runspider.py+++ b/scrapy/commands/runspider.py@@ -4,7 +4,7 @@ from importlib import import_modulefrom scrapy.utils.spider import iter_spider_classesfrom scrapy.exceptions import UsageError-from scrapy.commands import BaseRunSpiderCommands+from scrapy.commands import BaseRunSpiderCommanddef _import_file(filepath):@@ -23,7 +23,7 @@ def _import_file(filepath):return module-class Command(BaseRunSpiderCommands):+class Command(BaseRunSpiderCommand):requires_project = Falsedefault_settings = {'SPIDER_LOADER_WARN_ONLY': True}