Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/scrape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface ScrapeOptions {
* - 'html': Page content in HTML format
* - 'text': Plain text content
* - 'links': All hyperlinks on the page
* - 'summary': AI-generated summary of the page content
* - 'screenshot-visible': Screenshot of visible viewport
* - 'screenshot-fullpage': Full page screenshot
*
Expand Down
3 changes: 2 additions & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

export type RobotType = 'extract' | 'scrape' | 'crawl' | 'search';
export type RobotMode = 'normal' | 'bulk';
export type Format = 'markdown' | 'html' | 'text' | 'links' | 'screenshot-visible' | 'screenshot-fullpage';
export type Format = 'markdown' | 'html' | 'text' | 'links' | 'summary' | 'screenshot-visible' | 'screenshot-fullpage';
export type RunStatus = 'running' | 'queued' | 'success' | 'failed' | 'aborting' | 'aborted';
export type TimeUnit = 'MINUTES' | 'HOURS' | 'DAYS' | 'WEEKS' | 'MONTHS';
export type CrawlMode = 'domain' | 'subdomain' | 'path';
Expand Down Expand Up @@ -127,6 +127,7 @@ export interface RunResult {
markdown?: string;
html?: string;
links?: string[];
summary?: string;
promptResult?: string | null;
binaryOutput?: Record<string, string>;
};
Expand Down