code: def _get_link_status_code(link, allow_redirects=False, timeout=5):
      
      status_code = None
      try:
          response = requests.get(
              link, allow_redirects=allow_redirects, timeout=timeout)
          status_code = response.status_code
      except Exception:
          status_code = 404
      return status_code
docs: Get the status code of a link.
          If the timeout is exceeded, will return a 404.
          For a list of available status codes, see:
          https://en.wikipedia.org/wiki/List_of_HTTP_status_codes