backend: add 'lang' and 'blockAds' field to raw config, in prep for future work, and fixes #369

This commit is contained in:
Ilya Kreymer 2022-11-15 22:49:59 -08:00
parent 13d5ab7d2b
commit 704838f562

View File

@ -61,6 +61,9 @@ class RawCrawlConfig(BaseModel):
limit: Optional[int] = 0
extraHops: Optional[int] = 0
lang: Optional[str]
blockAds: Optional[bool] = False
behaviorTimeout: Optional[int]
workers: Optional[int]