A European seed of 362 employers, readable or not; discover finds a company's board from its site
The seed was jobhunt-hq's 186 US boards, chosen because they could be read. It is now a hand-picked list of European tech employers, with `board` filled by the new `app.jobs.discover` from each company's own careers site and every board fetched once before it landed: 175 have one, and the rest keep the ATS host their site runs on (Teamtailor 32, Workday 12, SuccessFactors 9, ...) and a careers URL, as rows the app cannot read yet. Companies shows them as "not readable yet" with a link, behind a filter, so the next parser to write is the host that filter shows most. `app companies discover NAME DOMAIN [--add]` reads the home page, its careers links and the usual paths for a link into a known host, one level down on a careers page, and probes Greenhouse, Lever, Ashby, SmartRecruiters, Recruitee and Personio by slug when the pages link nothing. It is what the LinkedIn flow will call. Migration 7 adds companies.ats, country and city. The Workable parser now reads the v3 shape its list endpoint actually sends (location object, department list, shortcode and no URL or text); the first populated board showed it. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
c4f2bcc0c9
commit
51d1e67ff9
19 files changed
+3362
-1394
No files matched your search
+19
-1
@@ -54,9 +54,25 @@
|
||||
badge.className = "badge";
|
||||
badge.textContent = company.board;
|
||||
sub.appendChild(badge);
|
||||
} else if (company.ats || company.careers_url) {
|
||||
// Followed, but its careers site runs on nothing the app reads yet.
|
||||
const badge = document.createElement("span");
|
||||
badge.className = "badge";
|
||||
badge.textContent = company.ats || "own site";
|
||||
sub.appendChild(badge);
|
||||
sub.append(" · not readable yet");
|
||||
} else {
|
||||
sub.append("from job boards");
|
||||
}
|
||||
if (company.careers_url && !company.board) {
|
||||
const link = document.createElement("a");
|
||||
link.href = company.careers_url;
|
||||
link.target = "_blank";
|
||||
link.rel = "noopener";
|
||||
link.textContent = "careers page";
|
||||
sub.append(" · ");
|
||||
sub.appendChild(link);
|
||||
}
|
||||
sub.append(` · ${count(company.open_roles, "open role")}`);
|
||||
return sub;
|
||||
}
|
||||
@@ -94,6 +110,7 @@
|
||||
case "hidden": return company.affinity === -1;
|
||||
case "on": return company.on === true;
|
||||
case "off": return company.on === false;
|
||||
case "unreadable": return company.subscription_id == null && Boolean(company.ats || company.careers_url);
|
||||
default: return true;
|
||||
}
|
||||
}
|
||||
@@ -102,7 +119,8 @@
|
||||
const q = $("#c-q").value.trim().toLowerCase();
|
||||
const filter = $("#c-filter").value;
|
||||
const rows = [...companies.values()]
|
||||
.filter((c) => !q || c.name.toLowerCase().includes(q) || c.board.includes(q))
|
||||
.filter((c) => !q || c.name.toLowerCase().includes(q) || c.board.includes(q)
|
||||
|| (c.ats || "").includes(q) || (c.country || "").toLowerCase() === q)
|
||||
.filter((c) => matchesFilter(c, filter))
|
||||
.sort((a, b) => b.open_roles - a.open_roles || a.name.localeCompare(b.name));
|
||||
const body = $("#companies-list");
|
||||
|
||||
Reference in new issue
Block a user