Skip to content
Open
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
5 changes: 3 additions & 2 deletions crawl4ai/async_webcrawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ async def arun(
url: str,
config: CrawlerRunConfig = None,
**kwargs,
) -> RunManyReturn:
) -> CrawlResultContainer[CrawlResult]:
"""
Runs the crawler for a single source: URL (web, local file, or raw HTML).

Expand All @@ -237,7 +237,8 @@ async def arun(
[other parameters maintained for backwards compatibility]

Returns:
CrawlResult: The result of crawling and processing
CrawlResultContainer[CrawlResult]: A single-result container that proxies
attribute access to the underlying CrawlResult for backwards compatibility.
"""
# Auto-start if not ready
if not self.ready:
Expand Down