mirror of
https://github.com/Bunsly/JobSpy.git
synced 2026-03-05 03:54:31 -08:00
Feat/multiple sites (#12)
* adding multiple search sites * updating docs and postman * threading per scraper type
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user