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

Function main

docs/examples/quickstart_sync.py:287–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

285
286
287def main():
288 cprint("🌟 [bold green]Welcome to the Crawl4ai Quickstart Guide! Let's dive into some web crawling fun! 🌐[/bold green]")
289 cprint("⛳️ [bold cyan]First Step: Create an instance of WebCrawler and call the `warmup()` function.[/bold cyan]")
290 cprint("If this is the first time you're running Crawl4ai, this might take a few seconds to load required model files.")
291
292 crawler = create_crawler()
293
294 crawler.always_by_pass_cache = True
295 basic_usage(crawler)
296 # basic_usage_some_params(crawler)
297 understanding_parameters(crawler)
298
299 crawler.always_by_pass_cache = True
300 screenshot_usage(crawler)
301 add_chunking_strategy(crawler)
302 add_extraction_strategy(crawler)
303 add_llm_extraction_strategy(crawler)
304 targeted_extraction(crawler)
305 interactive_extraction(crawler)
306 multiple_scrip(crawler)
307
308 cprint("\n🎉 [bold green]Congratulations! You've made it through the Crawl4ai Quickstart Guide! Now go forth and crawl the web like a pro! 🕸️[/bold green]")
309
310if __name__ == "__main__":
311 main()

Callers 1

quickstart_sync.pyFile · 0.70

Calls 11

cprintFunction · 0.85
create_crawlerFunction · 0.85
basic_usageFunction · 0.85
understanding_parametersFunction · 0.85
screenshot_usageFunction · 0.85
add_chunking_strategyFunction · 0.85
add_extraction_strategyFunction · 0.85
targeted_extractionFunction · 0.85
interactive_extractionFunction · 0.85
multiple_scripFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…