MCPcopy Index your code
hub / github.com/unclecode/crawl4ai / simple_crawl

Function simple_crawl

docs/examples/quickstart_async.py:30–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29
30async def simple_crawl():
31 print("\n--- Basic Usage ---")
32 async with AsyncWebCrawler(verbose=True) as crawler:
33 result = await crawler.arun(url="https://www.nbcnews.com/business")
34 print(result.markdown[:500]) # Print first 500 characters
35
36async def simple_example_with_running_js_code():
37 print("\n--- Executing JavaScript and Using CSS Selectors ---")

Callers 1

mainFunction · 0.85

Calls 2

AsyncWebCrawlerClass · 0.90
arunMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…