MCPcopy
hub / github.com/unclecode/crawl4ai / get_crawler

Function get_crawler

main.py:131–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129
130@lru_cache()
131def get_crawler():
132 # Initialize and return a WebCrawler instance
133 crawler = WebCrawler(verbose = True)
134 crawler.warmup()
135 return crawler
136
137class CrawlRequest(BaseModel):
138 urls: List[str]

Callers 1

crawl_urlsFunction · 0.85

Calls 2

warmupMethod · 0.95
WebCrawlerClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…