def METHOD_NAME(self, raw_dataset):
    """
    Extract the ip ranges from the raw dataset.
    Return: list of altered IPv4 and IPv6 ranges
    """
    ranges_IPv4, ranges_IPv6 = [], []
    ranges_IPv4 = self.convert_to_networks(raw_dataset, ipaddress.IPv4Network)
    ranges_IPv6 = self.convert_to_networks(raw_dataset, ipaddress.IPv6Network)
    try:
        logger.info(f"Looking IPs for Google")
        # Retrieve hosting provider by ID from the database
        hoster = Hostingprovider.objects.get(pk=settings.GOOGLE_PROVIDER_ID)
    except Hostingprovider.DoesNotExist as e:
        logger.warning(f"Hoster Google not found")
        raise e
    # Check if lists are not empty
    assert len(ranges_IPv4) > 0
    assert len(ranges_IPv6) > 0
    return {
        "ipv4": self.update_ranges_in_db(hoster, ranges_IPv4),
        "ipv6": self.update_ranges_in_db(hoster, ranges_IPv6),
    }