Docs/Reference

Dataset builder

Extract and export a small result, or move to DatasetJob for bulk generation.

Download .md
Developers2 min read3 sections
Source reference · Match your SDK version. Availability and known issues
In this guide

One page, one result

from crawlingo import Dataset

result = Dataset("https://example.com/").field("title", "h1").build()
result.to_json("page.json")
result.to_csv("page.csv")
result.to_parquet("page.parquet")
python6 lines · copy-ready

Structured extraction

Legacy structured extraction collects columns and rejects unequal match counts. For repeated row containers with optional fields, prefer DatasetJob.row_selector; it keeps fields attached to their own record.

Choose an export API

APIUseFormats
DatasetResultSmall collected resultJSON, CSV, Parquet
DatasetStreamRust record producersCSV, Parquet
DatasetJobResumable URL-file pipelineJSONL shards, CSV shards