Created scaffolding for Scraper as per the plan. Implemented the ascrape method in bfs_scraper_strategy
This commit is contained in:
7
crawl4ai/scraper/models.py
Normal file
7
crawl4ai/scraper/models.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from pydantic import BaseModel
|
||||
from typing import List, Dict
|
||||
|
||||
class ScraperResult(BaseModel):
|
||||
url: str
|
||||
crawled_urls: List[str]
|
||||
extracted_data: Dict
|
||||
Reference in New Issue
Block a user