Scrapy, a fast high-level web crawling & scraping framework for Python.
sep-019: fix typos
Pablo Hoffmanc7add1e5bd0b
diff --git a/sep/sep-019.rst b/sep/sep-019.rstindex d639ffc0e..a75cf1cd3 100644--- a/sep/sep-019.rst+++ b/sep/sep-019.rst@@ -66,7 +66,7 @@ Setting prioritiesThere will be 5 setting priorities used by default:-- 0: lobal defaults (those in ``scrapy.settings.default_settings``)+- 0: global defaults (those in ``scrapy.settings.default_settings``)- 10: per-command defaults (for example, shell runs with ``KEEP_ALIVE=True``)- 20: project settings (those in ``settings.py``)- 30: per-spider settings (those returned by ``Spider.custom_settings`` class method)@@ -134,7 +134,7 @@ Proposed (new) startup processspidercls = sm.load('myspider') # NOTE: returns spider class, not instancesettings = get_project_settings() # loads settings.py- settings.set(DOWNLOAD_DELAY, 5, priority=40)+ settings.set('DOWNLOAD_DELAY', 5, priority=40)crawler = Crawler(spidercls, settings=settings)settings.override(spidercls.custom_settings())