Wire freehire, Jobnet and Akademikernes Jobbank into the CLI, the Sources form, dupes and the docs

Provider names, the CLI's choices and the dupes rule's search hosts now come from readers.PROVIDERS, and the regions, work modes and remote words from the modules' REGIONS, MODES and REMOTE, read with getattr so main works before and after the readers merge.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Sonnet 5.5 committed 2026-10-03 12:24:34 +02:00
1 parent 018a1ad895
commit 6e6e655203
16 files changed
+422 -39

No files matched your search

+3 -1
View File
@@ -1043,6 +1043,7 @@ class SearchBody(BaseModel):
country: str = ""
where: str = ""
region: str = ""
remote: str = ""
pages: Annotated[int, Field(ge=0, le=10)] = 0
@@ -1050,7 +1051,8 @@ def _params(body: SearchBody) -> dict[str, Any]:
try:
return jobs.sources.search_params(body.provider, body.q, area=body.area,
country=body.country, where=body.where,
region=body.region, pages=body.pages)
region=body.region, remote=body.remote,
pages=body.pages)
except ValueError as exc:
raise HTTPException(422, str(exc)) from exc