Spaces:
Runtime error
Runtime error
File size: 242 Bytes
ed2b12e | 1 2 3 4 5 6 7 8 9 10 11 12 | import asyncio
from crawl4ai import *
async def scrape_url(url):
async with AsyncWebCrawler() as crawler:
result = await crawler.arun(
url,
)
code_code = ""
return result.markdown,status_code
|