code: def parse_refresh(text):
      '''Parses text for HTTP Refresh URL.
  
      Returns:
          str, None
      '''
      match = re.search(r'url\s*=(.+)', text, re.IGNORECASE)
  
      if match:
          url = match.group(1)
  
          if url.startswith('"'):
              url = url.strip('"')
          elif url.startswith("'"):
              url = url.strip("'")
  
          return clean_link_soup(urlf parse_refresh(text):
      '''Parses text for HTTP Refresh URL.
  
      Returns:
          str, None
      '''
      match = re.search(r'url\s*=(.+)', text, re.IGNORECASE)
  
      if match:
          url = match.group(1)
  
          if url.startswith('"'):
              url = url.strip('"')
          elif url.startswith("'"):
              url = url.strip("'")
  
          return clean_link_soup(url)
docs: Parses text for HTTP Refresh URL.
  
      Returns:
          str, None