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

Function test_multiple_urls

tests/async/test_basic_crawling.py:33–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31
32@pytest.mark.asyncio
33async def test_multiple_urls():
34 async with AsyncWebCrawler(verbose=True) as crawler:
35 urls = [
36 "https://www.nbcnews.com/business",
37 "https://www.example.com",
38 "https://www.python.org"
39 ]
40 results = await crawler.arun_many(urls=urls, bypass_cache=True)
41 assert len(results) == len(urls)
42 assert all(result.success for result in results)
43 assert all(result.html for result in results)
44
45@pytest.mark.asyncio
46async def test_javascript_execution():

Callers

nothing calls this directly

Calls 2

AsyncWebCrawlerClass · 0.90
arun_manyMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…