def _get_link_status_code(link, allow_redirects=False, timeout=<NUM_LIT:5>):
status_code = None<EOL>try:<EOL><INDENT>response = requests.get(<EOL>link, allow_redirects=allow_redirects, timeout=timeout)<EOL>status_code = response.status_code<EOL><DEDENT>except Exception:<EOL><INDENT>status_code = <NUM_LIT><EOL><DEDENT>return status_code<EOL>
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