Download scrape as CSV/XLSX
download_exportDownload a completed scrape as XLSX or CSV saved to your computer and return its file path. Use only after the scrape is done; existing files get numeric suffixes, never overwritten.
Instructions
Save a finished scrape as a spreadsheet file on this computer and return its path. The API serves the file itself (authenticated), so this tool downloads it rather than returning a link. Only works once the scrape status is done. The file uses the full column layout (every column, blanks where unknown). Files are never overwritten: an existing name gets a -1, -2... suffix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | xlsx (default, Excel/Google Sheets) or csv. | xlsx |
| scrapeId | Yes | The scrape id returned by start_scrape or list_scrapes (a UUID). | |
| directory | No | Absolute directory to save into. Defaults to HUBERTINO_DOWNLOAD_DIR, else ~/Downloads, else the system temp directory. |