Files
AI/참고/test_crawl4ai.py
LASTA_DEV01\lasta 9e88f4c7ad ontology
2026-05-13 19:57:34 +09:00

15 lines
374 B
Python

import asyncio
from crawl4ai import AsyncWebCrawler
async def main():
async with AsyncWebCrawler() as crawler:
result = await crawler.arun(
url="https://the912.co.kr/"
)
print("SUCCESS:", result.success)
print("URL:", result.url)
print("\n--- MARKDOWN ---")
print(result.markdown[:2000])
asyncio.run(main())