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: update arun() docstring to match CrawlResultContainer return type

ntohidi04985ea15e34
diff --git a/crawl4ai/async_webcrawler.py b/crawl4ai/async_webcrawler.py
index 44af4c53..cd2c512d 100644
--- a/crawl4ai/async_webcrawler.py
+++ b/crawl4ai/async_webcrawler.py
@@ -237,7 +237,9 @@ class AsyncWebCrawler:
[other parameters maintained for backwards compatibility]
Returns:
- CrawlResult: The result of crawling and processing
+ CrawlResultContainer: A single-result container that proxies
+ attribute access to the underlying CrawlResult for backwards
+ compatibility (e.g. result.markdown, result.html).
"""
# Auto-start if not ready
if not self.ready: