(crawler)
| 40 | print_result(result) |
| 41 | |
| 42 | def basic_usage_some_params(crawler): |
| 43 | cprint("🛠️ [bold cyan]Basic Usage: Simply provide a URL and let Crawl4ai do the magic![/bold cyan]") |
| 44 | result = crawler.run(url="https://www.nbcnews.com/business", word_count_threshold=1, only_text = True) |
| 45 | cprint("[LOG] 📦 [bold yellow]Basic crawl result:[/bold yellow]") |
| 46 | print_result(result) |
| 47 | |
| 48 | def screenshot_usage(crawler): |
| 49 | cprint("\n📸 [bold cyan]Let's take a screenshot of the page![/bold cyan]") |
nothing calls this directly
no test coverage detected
searching dependent graphs…