Skip to main content

Hacker News

This example goes over how to load data from the hacker news website, using Cheerio. One document will be created for each page.


npm install cheerio


import { HNLoader } from "@langchain/community/document_loaders/web/hn";

const loader = new HNLoader("");

const docs = await loader.load();

Was this page helpful?

You can also leave detailed feedback on GitHub.