@newspapper/core
    Preparing search index...

    Function fetchFeed

    • A feed's items, unconditionally. What Search and the source ping use. Throws on a refused URL, a failed request or an unparseable feed, as before.

      Parameters

      • url: string
      • userAgent: string
      • timeoutMs: number
      • deps: SafeFetchDeps = {}

      Returns Promise<RssItem[]>