mirror of https://github.com/scrapy/scrapy.git
Document update URLLENGTH_LIMIT
This commit is contained in:
parent
7d557f898c
commit
74f146bbe0
|
|
@ -1645,8 +1645,12 @@ Default: ``2083``
|
|||
|
||||
Scope: ``spidermiddlewares.urllength``
|
||||
|
||||
The maximum URL length to allow for crawled URLs. For more information about
|
||||
the default value for this setting see: https://support.microsoft.com/en-us/topic/maximum-url-length-is-2-083-characters-in-internet-explorer-174e7c8a-6666-f4e0-6fd6-908b53c12246
|
||||
The maximum URL length to allow for crawled URLs. You can set this to ``0``
|
||||
to disable :class:`~scrapy.spidermiddlewares.urllength.UrlLengthMiddleware` for working
|
||||
with URLs longer than the default value. The default limit acts as a stopping condition in case of
|
||||
URLs of increasing length, usually caused by a loop.
|
||||
For more information about the default value
|
||||
for this setting see: https://support.microsoft.com/en-us/topic/maximum-url-length-is-2-083-characters-in-internet-explorer-174e7c8a-6666-f4e0-6fd6-908b53c12246
|
||||
|
||||
.. setting:: USER_AGENT
|
||||
|
||||
|
|
|
|||
|
|
@ -440,4 +440,5 @@ UrlLengthMiddleware
|
|||
settings (see the settings documentation for more info):
|
||||
|
||||
* :setting:`URLLENGTH_LIMIT` - The maximum URL length to allow for crawled URLs.
|
||||
If ``0``, then :class:`~scrapy.spidermiddlewares.urllength.UrlLengthMiddleware` is disabled.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue