mirror of https://github.com/scrapy/scrapy.git
Spelling fixes
This commit is contained in:
parent
b5285c3f38
commit
719b1353a7
|
|
@ -146,7 +146,7 @@ Default values
|
|||
|
||||
p['numbers'] # returns []
|
||||
|
||||
Accesing and changing nested item values
|
||||
Accessing and changing nested item values
|
||||
----------------------------------------
|
||||
|
||||
::
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ Request Extractors
|
|||
|
||||
Request Extractors takes response object and determines which requests follow.
|
||||
|
||||
This is an enhancemente to ``LinkExtractors`` which returns urls (links),
|
||||
This is an enhancement to ``LinkExtractors`` which returns urls (links),
|
||||
Request Extractors return Request objects.
|
||||
|
||||
Request Processors
|
||||
|
|
|
|||
|
|
@ -477,7 +477,7 @@ This is a port of the Offsite middleware to the new spider middleware API:
|
|||
|
||||
def should_follow(self, request, spider):
|
||||
info = self.spiders[spider]
|
||||
# hostanme can be None for wrong urls (like javascript links)
|
||||
# hostname can be None for wrong urls (like javascript links)
|
||||
host = urlparse_cached(request).hostname or ''
|
||||
return bool(info.regex.search(host))
|
||||
|
||||
|
|
|
|||
|
|
@ -23,9 +23,9 @@ Rationale
|
|||
=========
|
||||
|
||||
There are certain markup patterns that lend themselves quite nicely to
|
||||
automated parsing, for example the ``<table>`` tag outlilnes such a pattern
|
||||
automated parsing, for example the ``<table>`` tag outlines such a pattern
|
||||
for populating a database table with the embedded ``<tr>`` elements denoting
|
||||
the rows and the furthur embedded ``<td>`` elements denoting the individual
|
||||
the rows and the further embedded ``<td>`` elements denoting the individual
|
||||
fields.
|
||||
|
||||
One pattern that is particularly well suited for auto-populating an Item Loader
|
||||
|
|
|
|||
Loading…
Reference in New Issue