mirror of https://github.com/scrapy/scrapy.git
DOC: Update MetaRefreshMiddlware's setting variables
* `REDIRECT_MAX_METAREFRESH_DELAY` has been deprecated and was renamed to `METAREFRESH_MAXDELAY`. * Merge duplicate documents about `METAREFRESH_MAXDELAY` appeared both in the settings page and the downloader-middlewares page.
This commit is contained in:
parent
a5db7f862c
commit
bcce8d3d80
|
|
@ -787,14 +787,16 @@ Default: ``True``
|
|||
|
||||
Whether the Meta Refresh middleware will be enabled.
|
||||
|
||||
.. setting:: REDIRECT_MAX_METAREFRESH_DELAY
|
||||
.. setting:: METAREFRESH_MAXDELAY
|
||||
|
||||
REDIRECT_MAX_METAREFRESH_DELAY
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
METAREFRESH_MAXDELAY
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Default: ``100``
|
||||
|
||||
The maximum meta-refresh delay (in seconds) to follow the redirection.
|
||||
Some sites use meta-refresh for redirecting to a session expired page, so we
|
||||
restrict automatic redirection to the maximum delay.
|
||||
|
||||
RetryMiddleware
|
||||
---------------
|
||||
|
|
|
|||
|
|
@ -857,16 +857,6 @@ Defines the maximum times a request can be redirected. After this maximum the
|
|||
request's response is returned as is. We used Firefox default value for the
|
||||
same task.
|
||||
|
||||
.. setting:: REDIRECT_MAX_METAREFRESH_DELAY
|
||||
|
||||
REDIRECT_MAX_METAREFRESH_DELAY
|
||||
------------------------------
|
||||
|
||||
Default: ``100``
|
||||
|
||||
Some sites use meta-refresh for redirecting to a session expired page, so we
|
||||
restrict automatic redirection to a maximum delay (in seconds)
|
||||
|
||||
.. setting:: REDIRECT_PRIORITY_ADJUST
|
||||
|
||||
REDIRECT_PRIORITY_ADJUST
|
||||
|
|
|
|||
Loading…
Reference in New Issue