Skip to content

Commit

Permalink
refactor:
Browse files Browse the repository at this point in the history
- Update hello_world.py example
  • Loading branch information
unclecode committed Jan 1, 2025
1 parent eac78c7 commit 98acc42
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/examples/hello_world.py
Original file line number Diff line number Diff line change
@@ -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 *

Expand All @@ -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])
Expand Down

0 comments on commit 98acc42

Please sign in to comment.