def get_meta_refresh(response, ignore_tags=('script', 'noscript')):
    """Parse the http-equiv refrsh parameter from the given response"""
    if response not in _metaref_cache:
        text = response.text[0:4096]
        _metaref_cache[response] = html.get_meta_refresh(text, response.url,
            response.encoding, ignore_tags=ignore_tags)
    return _metaref_cache[response]
Parse the http-equiv refrsh parameter from the given response
stackoverflow/venv/lib/python3.6/site-packages/scrapy/utils/response.py