Skip to content

Official Crawl4AI Cloud: a hosted web scraping, extraction, and search API for AI agents. Free API key, 1,000 credits a month, no card. Fully open source: this repo is the Apache-2.0 crawler that powers it, and you can self-host it.

docs(models): show the new CrawlResult defaults in the SDK reference

Talel Boussettae88c4417d450
diff --git a/docs/md_v2/complete-sdk-reference.md b/docs/md_v2/complete-sdk-reference.md
index 2e86db1e..afa6a865 100644
--- a/docs/md_v2/complete-sdk-reference.md
+++ b/docs/md_v2/complete-sdk-reference.md
@@ -1077,8 +1077,8 @@ class CrawlResult(BaseModel):
success: bool
cleaned_html: Optional[str] = None
fit_html: Optional[str] = None # Preprocessed HTML optimized for extraction
- media: Dict[str, List[Dict]] = {}
- links: Dict[str, List[Dict]] = {}
+ media: Dict[str, List[Dict]] = {"images": [], "videos": [], "audios": []}
+ links: Dict[str, List[Dict]] = {"internal": [], "external": []}
downloaded_files: Optional[List[str]] = None
screenshot: Optional[str] = None
pdf : Optional[bytes] = None