Spaces:
Runtime error
Runtime error
Charles Azam
commited on
Commit
·
d708554
1
Parent(s):
62aafbe
feat: skip test that require playwright
Browse files
src/deepengineer/webcrawler/async_crawl.py
CHANGED
|
@@ -3,8 +3,10 @@ from pathlib import Path
|
|
| 3 |
import aiofiles
|
| 4 |
import crawl4ai
|
| 5 |
import httpx
|
|
|
|
| 6 |
|
| 7 |
|
|
|
|
| 8 |
async def crawl4ai_extract_markdown_of_url_async(url: str) -> str:
|
| 9 |
"""Extract markdown content from a URL using crawl4ai."""
|
| 10 |
async with crawl4ai.AsyncWebCrawler() as crawler:
|
|
|
|
| 3 |
import aiofiles
|
| 4 |
import crawl4ai
|
| 5 |
import httpx
|
| 6 |
+
import pytest
|
| 7 |
|
| 8 |
|
| 9 |
+
@pytest.mark.skip(reason="Playwright is not installed on CI")
|
| 10 |
async def crawl4ai_extract_markdown_of_url_async(url: str) -> str:
|
| 11 |
"""Extract markdown content from a URL using crawl4ai."""
|
| 12 |
async with crawl4ai.AsyncWebCrawler() as crawler:
|