Read an offloaded page
read_scrapedRetrieve scraped page content stored on disk in chunks. Use the offloaded path and paginate through offsets to access text without loading the entire file.
Instructions
Read a chunk of a scraped page that was offloaded to disk.
Use the path from a scrape result's content_offloaded. Start at offset 0 and keep
calling with the returned next_offset until eof is true — and stop as soon as you
have what you need rather than reading the whole file by reflex. Returns text plus
offset, returned_chars, total_chars, next_offset and eof.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path from a result's `content_offloaded.path`. | |
| length | No | How many characters to return. | |
| offset | No | Character offset to start at. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||