Take a Platsbanken region in the API and the CLI, and trust its and Teamtailor's posted date
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
43f0210b88
commit
0458c9c172
4 files changed
+12
-5
No files matched your search
+5
-1
@@ -681,12 +681,16 @@ AFFINITY = range(-1, 3)
|
||||
#: deployment carries no Adzuna key (`plugins.search`'s own docstring:
|
||||
#: "not yet run live") and no Adzuna subscription exists to fetch.
|
||||
#:
|
||||
#: - `teamtailor`: the feed's `pubDate`, and `platsbanken`: `publication_date`,
|
||||
#: both named as publication. Read on live feeds on 2026-09-29, where the
|
||||
#: dates were spread over weeks, not checked against stored roles.
|
||||
#:
|
||||
#: A host not listed here, or a role whose stored `published_at` fails the
|
||||
#: sanity check in `posted_at`, keeps `first_seen` as its posted date — the
|
||||
#: safe default this migration is replacing everywhere else.
|
||||
TRUSTED_POSTED_HOSTS: frozenset[str] = frozenset({
|
||||
"greenhouse", "lever", "ashby", "workable", "smartrecruiters", "recruitee",
|
||||
"personio", "jobindex", "adzuna",
|
||||
"personio", "teamtailor", "jobindex", "adzuna", "platsbanken",
|
||||
})
|
||||
|
||||
#: A `published_at` before this is a parsing slip or a placeholder, not a
|
||||
|
||||
Reference in new issue
Block a user