From 14f7f22555421381c9f9470180a0e0b0fbdf66aa Mon Sep 17 00:00:00 2001 From: hy Date: Wed, 16 Sep 2015 16:59:23 +0800 Subject: [PATCH] fix typos in downloader-middleware.rst and exceptions.rst, middlware -> middleware --- docs/topics/downloader-middleware.rst | 2 +- docs/topics/exceptions.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/downloader-middleware.rst b/docs/topics/downloader-middleware.rst index 38c9456db..b79da1b95 100644 --- a/docs/topics/downloader-middleware.rst +++ b/docs/topics/downloader-middleware.rst @@ -804,7 +804,7 @@ RetryMiddleware .. class:: RetryMiddleware - A middlware to retry failed requests that are potentially caused by + A middleware to retry failed requests that are potentially caused by temporary problems such as a connection timeout or HTTP 500 error. Failed pages are collected on the scraping process and rescheduled at the diff --git a/docs/topics/exceptions.rst b/docs/topics/exceptions.rst index 8a10ee796..9f8d16d84 100644 --- a/docs/topics/exceptions.rst +++ b/docs/topics/exceptions.rst @@ -57,7 +57,7 @@ remain disabled. Those components include: * Extensions * Item pipelines - * Downloader middlwares + * Downloader middlewares * Spider middlewares The exception must be raised in the component constructor.