(self, response)
Yields domains from a reverse NS response (generator).
Yields domains from a reverse NS response (generator).
Yields domains from a reverse NS response ( generator ) .
def domainlist_reversens(self, response):
        """Yields domains from a reverse NS response (generator)."""
        data = response.json()
        for domain in itertools.chain(data['response']['primary_domains'], data['response']['primary_domains']):
            yield(domain.lower())
def domainlist_reversens ( self , response ) : data = response . json ( ) for domain in itertools . chain ( data [ 'response' ] [ 'primary_domains' ] , data [ 'response' ] [ 'primary_domains' ] ) : yield ( domain . lower ( ) )