original_docstring: Collect reputation data from URLVoid for the target domain. This returns an ElementTree
          object.
  
          A URLVoid API key is required.
  
          Parameters:
          domain      The domain name to check with URLVoid
          
docstring: Collect reputation data from URLVoid for the target domain. This returns an ElementTree
  object.
  
  A URLVoid API key is required.
  
  domain      The domain name to check with URLVoid
docstring_tokens: Collect reputation data from URLVoid for the target domain . This returns an ElementTree object . A URLVoid API key is required . domain The domain name to check with URLVoid
code: def run_urlvoid_lookup(self,domain):
          """Collect reputation data from URLVoid for the target domain. This returns an ElementTree
          object.
  
          A URLVoid API key is required.
  
          Parameters:
          domain      The domain name to check with URLVoid
          """
          if not helpers.is_ip(domain):
              try:
                  if self.urlvoid_api_key != "":
                      url = "http://api.urlvoid.com/api1000/{}/host/{}".format(self.urlvoid_api_key,domain)
                      response = requests.get(url,timeout=self.requests_timeout)
                      tree = ET.fromstring(response.content)
                      return tree
                  else:
                      click.secho("[*] No URLVoid API key, so skipping this test.",fg="green")
                      return None
              except Exception as error:
                  click.secho("[!] Could not load URLVoid for reputation check!",fg="red")
                  click.secho("L.. Details: {}".format(error),fg="red")
                  return None
          else:
              click.secho("[!] Target is not a domain, so skipping URLVoid queries.",fg="red")
code_tokens: def run_urlvoid_lookup ( self , domain ) : if not helpers . is_ip ( domain ) : try : if self . urlvoid_api_key != "" : url = "http://api.urlvoid.com/api1000/{}/host/{}" . format ( self . urlvoid_api_key , domain ) response = requests . get ( url , timeout = self . requests_timeout ) tree = ET . fromstring ( response . content ) return tree else : click . secho ( "[*] No URLVoid API key, so skipping this test." , fg = "green" ) return None except Exception as error : click . secho ( "[!] Could not load URLVoid for reputation check!" , fg = "red" ) click . secho ( "L.. Details: {}" . format ( error ) , fg = "red" ) return None else : click . secho ( "[!] Target is not a domain, so skipping URLVoid queries." , fg = "red" )
short_docstring: Collect reputation data from URLVoid for the target domain.
short_docstring_tokens: Collect reputation data from URLVoid for the target domain .
comment: """Collect reputation data from URLVoid for the target domain. This returns an ElementTree
          object.
  
          A URLVoid API key is required.
  
          Parameters:
          domain      The domain name to check with URLVoid
          """