Skip to content

Commit

Permalink
Closes scrapy#6342. Setting METAREFRESH_IGNORE_TAGS to ["noscript"] b…
Browse files Browse the repository at this point in the history
…y default
  • Loading branch information
aisha-partha committed May 8, 2024
1 parent 2adfc20 commit 17b2046
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/topics/downloader-middleware.rst
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ Whether the Meta Refresh middleware will be enabled.
METAREFRESH_IGNORE_TAGS
^^^^^^^^^^^^^^^^^^^^^^^

Default: ``[]``
Default: ``['noscript']``

Meta tags within these tags are ignored.

Expand Down
2 changes: 1 addition & 1 deletion scrapy/settings/default_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
MEMUSAGE_WARNING_MB = 0

METAREFRESH_ENABLED = True
METAREFRESH_IGNORE_TAGS = ["noscript"]
METAREFRESH_IGNORE_TAGS = []
METAREFRESH_MAXDELAY = 100

NEWSPIDER_MODULE = ""
Expand Down

0 comments on commit 17b2046

Please sign in to comment.