From 98acc4254daa1b72061219cdde820b484aeadb2a Mon Sep 17 00:00:00 2001 From: UncleCode Date: Wed, 1 Jan 2025 19:47:22 +0800 Subject: [PATCH] refactor: - Update hello_world.py example --- docs/examples/hello_world.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/examples/hello_world.py b/docs/examples/hello_world.py index bcdb0d71..bcec9a9a 100644 --- a/docs/examples/hello_world.py +++ b/docs/examples/hello_world.py @@ -1,9 +1,3 @@ -import os, sys - -sys.path.append( - os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) -) - import asyncio from crawl4ai import * @@ -16,7 +10,7 @@ async def main(): ) ) result = await crawler.arun( - url="https://www.nbcnews.com/business", + url="https://crawl4ai.com", config=crawler_config ) print(result.markdown_v2.raw_markdown[:500])