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

Method warmup

crawl4ai/web_crawler.back.py:42–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 self.ready = False
41
42 def warmup(self):
43 print("[LOG] 🌤️ Warming up the WebCrawler")
44 result = self.run(
45 url='https://crawl4ai.uccode.io/',
46 word_count_threshold=5,
47 extraction_strategy= NoExtractionStrategy(),
48 bypass_cache=False,
49 verbose = False
50 )
51 self.ready = True
52 print("[LOG] 🌞 WebCrawler is ready to crawl")
53
54 def fetch_page(
55 self,

Callers

nothing calls this directly

Calls 2

runMethod · 0.95

Tested by

no test coverage detected