def get_confirm_token(response):
    """Get a confirmation token from the cookies associated with the
    google drive file download response

    """

    for key, value in response.cookies.items():
        if key.startswith('download_warning'):
            return value