@mendable/firecrawl-js 1.18.0-beta.8 → 1.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +22 -286
- package/dist/index.d.cts +5 -148
- package/dist/index.d.ts +5 -148
- package/dist/index.js +22 -286
- package/package.json +1 -1
- package/src/index.ts +3 -1
- package/dump.rdb +0 -0
package/src/index.ts
CHANGED
|
@@ -79,7 +79,7 @@ export interface FirecrawlDocument<T = any, ActionsSchema extends (ActionsResult
|
|
|
79
79
|
* Defines the options and configurations available for scraping web content.
|
|
80
80
|
*/
|
|
81
81
|
export interface CrawlScrapeOptions {
|
|
82
|
-
formats
|
|
82
|
+
formats?: ("markdown" | "html" | "rawHtml" | "content" | "links" | "screenshot" | "screenshot@fullPage" | "extract" | "json")[];
|
|
83
83
|
headers?: Record<string, string>;
|
|
84
84
|
includeTags?: string[];
|
|
85
85
|
excludeTags?: string[];
|
|
@@ -94,6 +94,7 @@ export interface CrawlScrapeOptions {
|
|
|
94
94
|
skipTlsVerification?: boolean;
|
|
95
95
|
removeBase64Images?: boolean;
|
|
96
96
|
blockAds?: boolean;
|
|
97
|
+
proxy?: "basic" | "stealth";
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
export type Action = {
|
|
@@ -263,6 +264,7 @@ export interface ExtractParams<LLMSchema extends zt.ZodSchema = any> {
|
|
|
263
264
|
includeSubdomains?: boolean;
|
|
264
265
|
origin?: string;
|
|
265
266
|
showSources?: boolean;
|
|
267
|
+
scrapeOptions?: CrawlScrapeOptions;
|
|
266
268
|
}
|
|
267
269
|
|
|
268
270
|
/**
|
package/dump.rdb
DELETED
|
Binary file
|