def get_url_id(test_url):
    """Get the id from a test_url.
    Example URL: https://172.17.0.1:44300/leaks/24576/noauth/ Example output: 24576"""
    splits = test_url.split("leaks/")
    if len(splits) == 2:
        try:
            return int(splits[1].split("/")[0])
        except ValueError:
            print(splits)
    else:
        return None