Merge the Jobindex link-out: the Se jobbet link kept as posting_url (wp-d-jobindex)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Opus 5.5 committed 2026-09-30 13:45:27 +02:00
commit 27e24d0342
19 files changed
+695 -29

No files matched your search

+8 -2
View File
@@ -874,6 +874,7 @@ class RoleCopy(Model):
host: str = ""
place: str = ""
original_url: str = ""
posting_url: str = ""
posted_at: str = ""
@@ -930,6 +931,9 @@ class Role(Model):
#: The short text the host's list carries, until `description` arrives.
teaser: str = ""
original_url: str = ""
#: Where a Jobindex ad's own page leads, found when the text is fetched
#: (`app.jobs.posting`); '' until then and for every other host.
posting_url: str = ""
published_at: str
#: The date this role counts as posted: see `posted_at`. Used for
#: `recency` and the feed's newest order; `first_seen` stays what it
@@ -1039,8 +1043,9 @@ class RoleRow(Model):
there is one, else the description's opening, cut to `EXCERPT_LIMIT`
characters. The pay fields are what the row's badge reads: the three
normalised columns, the line the board stated, and `salary_state`,
derived as on `Role`. `original_url` is one short string, kept so the
`o` key opens a selected row's posting without opening the reader.
derived as on `Role`. `original_url` and `posting_url` are short strings,
kept so the `o` key opens a selected row's posting without opening the
reader.
`seniority` is the title's level until extract reads the posting, ''
when neither says. `copies` counts the open copies the feed hides behind
this row."""
@@ -1059,6 +1064,7 @@ class RoleRow(Model):
currency: str = ""
salary_text: str = ""
original_url: str = ""
posting_url: str = ""
posted_at: str = ""
score: float | None = None
gated_reason: str = ""