@newspapper/core
    Preparing search index...

    Interface SearchOptions

    interface SearchOptions {
        keywords: string[];
        maxPerSource?: number;
        userAgent?: string;
        requestTimeoutMs?: number;
        onProgress?: (e: ScrapeProgressEvent) => void;
    }
    Index
    keywords: string[]

    Case-insensitive substrings to match, OR'd together. At least one is required.

    maxPerSource?: number
    userAgent?: string
    requestTimeoutMs?: number
    onProgress?: (e: ScrapeProgressEvent) => void