PlaywrightWebBaseLoader
or PuppeteerWebBaseLoader
instead.
Class | Package | Local | Serializable | PY support |
---|---|---|---|---|
CheerioWebBaseLoader | @langchain/community | ✅ | ✅ | ❌ |
Source | Web Support | Node Support |
---|---|---|
CheerioWebBaseLoader | ✅ | ✅ |
CheerioWebBaseLoader
document loader you’ll need to install the @langchain/community
integration package, along with the cheerio
peer dependency.
@langchain/community
package:
CheerioWebBaseLoader
supports additional configuration when instantiating the loader. Here is an example of how to use it with the selector
field passed, making it only load content from the provided HTML class names: