mirror of https://github.com/scrapy/scrapy.git
spelling: refresh
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
d27c611cc0
commit
010cf9d420
|
|
@ -36,7 +36,7 @@ def get_meta_refresh(
|
|||
response: "scrapy.http.response.text.TextResponse",
|
||||
ignore_tags: Optional[Iterable[str]] = ('script', 'noscript'),
|
||||
) -> Union[Tuple[None, None], Tuple[float, str]]:
|
||||
"""Parse the http-equiv refrsh parameter from the given response"""
|
||||
"""Parse the http-equiv refresh parameter from the given response"""
|
||||
if response not in _metaref_cache:
|
||||
text = response.text[0:4096]
|
||||
_metaref_cache[response] = html.get_meta_refresh(
|
||||
|
|
|
|||
Loading…
Reference in New Issue