Change the project folder name from crawler to crawl4ai

This commit is contained in:
unclecode
2024-05-09 22:16:28 +08:00
parent 7ee8001b7d
commit 3ff1d15702
9 changed files with 6 additions and 6 deletions

15
crawl4ai/models.py Normal file
View File

@@ -0,0 +1,15 @@
from pydantic import BaseModel, HttpUrl
from typing import List
class UrlModel(BaseModel):
url: HttpUrl
forced: bool = False
class CrawlResult(BaseModel):
url: str
html: str
success: bool
cleaned_html: str = None
markdown: str = None
parsed_json: str = None
error_message: str = None