Feat/multiple sites (#12)

* adding multiple search sites

* updating docs and postman

* threading per scraper type
This commit is contained in:
mlnl
2023-08-26 12:28:02 -07:00
committed by GitHub
parent d67383f053
commit 4d04bb63e2
6 changed files with 34 additions and 11 deletions

View File

@@ -1,4 +1,5 @@
from ..jobs import *
from typing import List
class StatusException(Exception):
@@ -13,7 +14,7 @@ class Site(Enum):
class ScraperInput(BaseModel):
site_type: Site
site_type: List[Site]
search_term: str
location: str = None