Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "isomorphic-packages/sitemap-crawler/src/crawl"

Index

Variables

Functions

Variables

Const PSEUDO_URL_BASE

PSEUDO_URL_BASE: "https://base" = "https://base"

Use pseudo base so e.g. sitemaps configured as /sitemap.xml (relative) configured in robots.txt are parsed correctly.

Functions

crawl

  • crawl(rootUrl: string, sitemapUrl: string, sites?: string[]): Promise<string[]>
  • Parameters

    • rootUrl: string
    • sitemapUrl: string
    • Optional sites: string[]

    Returns Promise<string[]>

Generated using TypeDoc