'Generate the list of strings we want to ignore as private IP addresses'

def _generate_ignores(self, response):

    if (self._ignore_if_match is None):
        self._ignore_if_match = set()
        requested_domain = response.get_url().get_domain()
        self._ignore_if_match.add(requested_domain)
        self._ignore_if_match.add(get_local_ip(requested_domain))
        self._ignore_if_match.add(get_local_ip())
        try:
            ip_address = socket.gethostbyname(requested_domain)
        except:
            pass
        else:
            self._ignore_if_match.add(ip_address)
