This example goes over how to load data from the internet movie script database website, using Cheerio. One document will be created for each page.

Setup

npm
npm install @langchain/community @langchain/core cheerio

Usage

import { IMSDBLoader } from "@langchain/community/document_loaders/web/imsdb";

const loader = new IMSDBLoader("https://imsdb.com/scripts/BlacKkKlansman.html");

const docs = await loader.load();