Class representing a document loader for loading data from Spider (spider.cloud). It extends the BaseDocumentLoader class.
const loader = new SpiderLoader({ url: "{url}", apiKey: "{apiKey}", mode: "crawl"});const docs = await loader.load(); Copy
const loader = new SpiderLoader({ url: "{url}", apiKey: "{apiKey}", mode: "crawl"});const docs = await loader.load();
Loads the data from the Spider.
An array of Documents representing the retrieved data.
An error if the data could not be loaded.
Class representing a document loader for loading data from Spider (spider.cloud). It extends the BaseDocumentLoader class.
Example