(self, obj)
Perform a subdomain lookup on the query value.
Perform a subdomain lookup on the query value.
Perform a subdomain lookup on the query value .
def do_subdomain_query(self, obj):
        """Perform a subdomain lookup on the query value."""
        client = self._generate_request_instance('enrichment')
        query = self._get_query_type(obj)
        results = client.get_subdomains(query=query)
        self._check_response(results)
        for sub in results.get('subdomains', []):
            full_domain = sub + "." + results.get('queryValue')
            self._add_result('Subdomains', full_domain)
def do_subdomain_query ( self , obj ) : client = self . _generate_request_instance ( 'enrichment' ) query = self . _get_query_type ( obj ) results = client . get_subdomains ( query = query ) self . _check_response ( results ) for sub in results . get ( 'subdomains' , [ ] ) : full_domain = sub + "." + results . get ( 'queryValue' ) self . _add_result ( 'Subdomains' , full_domain )