Skip to content

Commit 0025d5a

Browse files
committed
Fixed minor grammar issues.
1 parent 57f87b9 commit 0025d5a

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

docs/faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ I get "Filtered offsite request" messages. How can I fix them?
144144
Those messages (logged with ``DEBUG`` level) don't necessarily mean there is a
145145
problem, so you may not need to fix them.
146146

147-
Those message are thrown by the Offsite Spider Middleware, which is a spider
147+
Those messages are thrown by the Offsite Spider Middleware, which is a spider
148148
middleware (enabled by default) whose purpose is to filter out requests to
149149
domains outside the ones covered by the spider.
150150

docs/topics/broad-crawls.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ These are some common properties often found in broad crawls:
3434

3535
As said above, Scrapy default settings are optimized for focused crawls, not
3636
broad crawls. However, due to its asynchronous architecture, Scrapy is very
37-
well suited for performing fast broad crawls. This page summarize some things
37+
well suited for performing fast broad crawls. This page summarizes some things
3838
you need to keep in mind when using Scrapy for doing broad crawls, along with
3939
concrete suggestions of Scrapy settings to tune in order to achieve an
4040
efficient broad crawl.
@@ -46,7 +46,7 @@ Concurrency is the number of requests that are processed in parallel. There is
4646
a global limit and a per-domain limit.
4747

4848
The default global concurrency limit in Scrapy is not suitable for crawling
49-
many different domains in parallel, so you will want to increase it. How much
49+
many different domains in parallel, so you will want to increase it. How much
5050
to increase it will depend on how much CPU you crawler will have available. A
5151
good starting point is ``100``, but the best way to find out is by doing some
5252
trials and identifying at what concurrency your Scrapy process gets CPU

docs/topics/extensions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Extensions use the :ref:`Scrapy settings <topics-settings>` to manage their
1717
settings, just like any other Scrapy code.
1818

1919
It is customary for extensions to prefix their settings with their own name, to
20-
avoid collision with existing (and future) extensions. For example, an
20+
avoid collision with existing (and future) extensions. For example, a
2121
hypothetic extension to handle `Google Sitemaps`_ would use settings like
2222
`GOOGLESITEMAP_ENABLED`, `GOOGLESITEMAP_DEPTH`, and so on.
2323

@@ -143,7 +143,7 @@ Here is the code of such extension::
143143
self.items_scraped += 1
144144
if self.items_scraped % self.item_count == 0:
145145
logger.info("scraped %d items", self.items_scraped)
146-
146+
147147

148148
.. _topics-extensions-ref:
149149

docs/topics/item-pipeline.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ contain a price::
9595
Write items to a JSON file
9696
--------------------------
9797

98-
The following pipeline stores all scraped items (from all spiders) into a a
98+
The following pipeline stores all scraped items (from all spiders) into a
9999
single ``items.jl`` file, containing one item per line serialized in JSON
100100
format::
101101

docs/topics/items.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ the example above.
6161
You can specify any kind of metadata for each field. There is no restriction on
6262
the values accepted by :class:`Field` objects. For this same
6363
reason, there is no reference list of all available metadata keys. Each key
64-
defined in :class:`Field` objects could be used by a different components, and
64+
defined in :class:`Field` objects could be used by a different component, and
6565
only those components know about it. You can also define and use any other
6666
:class:`Field` key in your project too, for your own needs. The main goal of
6767
:class:`Field` objects is to provide a way to define all field metadata in one

docs/topics/leaks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ subclasses):
9797
A real example
9898
--------------
9999

100-
Let's see a concrete example of an hypothetical case of memory leaks.
100+
Let's see a concrete example of a hypothetical case of memory leaks.
101101
Suppose we have some spider with a line similar to this one::
102102

103103
return Request("http://www.somenastyspider.com/product.php?pid=%d" % product_id,

docs/topics/practices.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ with varying degrees of sophistication. Getting around those measures can be
228228
difficult and tricky, and may sometimes require special infrastructure. Please
229229
consider contacting `commercial support`_ if in doubt.
230230

231-
Here are some tips to keep in mind when dealing with these kind of sites:
231+
Here are some tips to keep in mind when dealing with these kinds of sites:
232232

233233
* rotate your user agent from a pool of well-known ones from browsers (google
234234
around to get a list of them)

docs/topics/selectors.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ Built-in Selectors reference
579579
is used together with ``text``.
580580

581581
If ``type`` is ``None`` and a ``response`` is passed, the selector type is
582-
inferred from the response type as follow:
582+
inferred from the response type as follows:
583583

584584
* ``"html"`` for :class:`~scrapy.http.HtmlResponse` type
585585
* ``"xml"`` for :class:`~scrapy.http.XmlResponse` type
@@ -757,7 +757,7 @@ nodes can be accessed directly by their names::
757757
<Selector xpath='//link' data=u'<link xmlns="http://www.w3.org/2005/Atom'>,
758758
...
759759

760-
If you wonder why the namespace removal procedure isn't called always by default
760+
If you wonder why the namespace removal procedure isn't always called by default
761761
instead of having to call it manually, this is because of two reasons, which, in order
762762
of relevance, are:
763763

0 commit comments

Comments
 (0)