Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

524 B
Raw Blame
---
id: export-entire-dataset
title: Export entire dataset to one file
---

import RunnableCodeBlock from '@site/src/components/RunnableCodeBlock';
import ApiLink from '@site/src/components/ApiLink';
import CrawlSource from '!!raw-loader!roa-loader!./export-entire-dataset.ts';

This `Dataset` example uses the `exportToValue` function to export the entire default dataset to a single CSV file into the default key-value store.

<RunnableCodeBlock className="language-js" type="cheerio">
	{CrawlSource}
</RunnableCodeBlock>