Function batchWhois

  • Collects (and parse/format if set to be true) for the provided domains. If parallel is set to be true, multiple threads will be used to batch process the domains according to threads mentioned. If options.parsedData is mentioned, then it will be used to parse all the responses. If a proxy is mentioned in options, then the proxy will be used to collect all the WhoIs data.

    Parameters

    • domains: string[]

      Domains Names

    • parallel: boolean = false

      Whether data should be collected parallally or not

    • threads: number = 1

      Batch size (for parallel processing)

    • parse: boolean = false

      Whether the raw text needs to be parsed/formatted or not

    • options: null | WhoIsOptions = null

    Returns Promise<WhoIsResponse[]>

    Array of WhoIsResponse for all the domains. Order is not guaranteed

Generated using TypeDoc