File size: 143 Bytes
c59d808
 
 
 
 
 
 
1
2
3
4
5
6
7
8
from pydantic import BaseModel


class ScrapeRequest(BaseModel):
    site: str
    limit: int = 50
    output_type: str = "json"  # or "mongo"