Spaces:
Paused
Paused
Update main.py
Browse files
main.py
CHANGED
|
@@ -35,7 +35,8 @@ class CrawlerOutput(BaseModel):
|
|
| 35 |
|
| 36 |
async def simple_crawl(url: str):
|
| 37 |
async with AsyncWebCrawler(verbose=True) as crawler:
|
| 38 |
-
result = await crawler.arun(url=url
|
|
|
|
| 39 |
print(len(result.markdown))
|
| 40 |
return result
|
| 41 |
|
|
|
|
| 35 |
|
| 36 |
async def simple_crawl(url: str):
|
| 37 |
async with AsyncWebCrawler(verbose=True) as crawler:
|
| 38 |
+
result = await crawler.arun(url=url,
|
| 39 |
+
bypass_cache=True)
|
| 40 |
print(len(result.markdown))
|
| 41 |
return result
|
| 42 |
|