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:
1 parent
018a1ad895
commit
6e6e655203
16 files changed
+422
-39
No files matched your search
@@ -19,7 +19,7 @@
|
||||
top of the list on New, as agents.js does for the Search agents cards. #}
|
||||
<section class="card" id="job-boards" data-section>
|
||||
<h2>Job boards</h2>
|
||||
<p class="lede">A query on Jobindex, Adzuna or Platsbanken finds roles at any company. Switching one off closes its roles until you switch it back on.</p>
|
||||
<p class="lede">A query on Jobindex, Adzuna, Platsbanken, freehire, Jobnet or Akademikernes Jobbank finds roles at any company. Switching one off closes its roles until you switch it back on.</p>
|
||||
|
||||
<div class="agents-head">
|
||||
<p id="searches-count" class="count" role="status"></p>
|
||||
@@ -38,6 +38,7 @@
|
||||
<option value="jobindex">Jobindex (Denmark)</option>
|
||||
<option value="adzuna">Adzuna (UK and EU)</option>
|
||||
<option value="platsbanken">Platsbanken (Sweden)</option>
|
||||
{% for value, label in providers %}<option value="{{ value }}">{{ label }}</option>{% endfor %}
|
||||
</select></label>
|
||||
<label>Name <input type="text" id="s-name" required placeholder="Copenhagen backend"></label>
|
||||
</div>
|
||||
@@ -45,7 +46,10 @@
|
||||
<input type="text" id="s-q" required spellcheck="false">
|
||||
<span class="hint" data-provider="jobindex">Jobindex syntax: words are OR, <code>"a b"</code> is a phrase, <code>+word</code> is required.</span>
|
||||
<span class="hint" data-provider="adzuna" hidden>Every word must appear.</span>
|
||||
<span class="hint" data-provider="platsbanken" hidden>Free text; every word counts towards the match.</span></label>
|
||||
<span class="hint" data-provider="platsbanken" hidden>Free text; every word counts towards the match.</span>
|
||||
<span class="hint" data-provider="freehire" hidden>Words are OR over title, company, text and place, so a query is noisy; narrow it by country.</span>
|
||||
<span class="hint" data-provider="jobnet" hidden>A loose match: words, no phrases.</span>
|
||||
<span class="hint" data-provider="jobbank" hidden>Words are OR.</span></label>
|
||||
<div class="form-row">
|
||||
<label data-provider="jobindex">Area
|
||||
<select id="s-area">
|
||||
@@ -61,6 +65,28 @@
|
||||
<option value="">All of Sweden</option>
|
||||
{% for value, label in regions %}<option value="{{ value }}">{{ label }}</option>{% endfor %}
|
||||
</select></label>
|
||||
<label data-provider="freehire" hidden>Countries <input type="text" id="s-countries" placeholder="dk,se" spellcheck="false">
|
||||
<span class="hint">ISO codes, comma-separated; empty for all</span></label>
|
||||
<label data-provider="freehire" hidden>Work mode
|
||||
<select id="s-mode">
|
||||
<option value="">Any</option>
|
||||
{% for value, label in modes %}<option value="{{ value }}">{{ label }}</option>{% endfor %}
|
||||
</select></label>
|
||||
<label data-provider="jobnet" hidden>Region
|
||||
<select id="s-region-jobnet">
|
||||
<option value="">All of Denmark</option>
|
||||
{% for value, label in jobnet_regions %}<option value="{{ value }}">{{ label }}</option>{% endfor %}
|
||||
</select></label>
|
||||
<label data-provider="jobbank" hidden>Region
|
||||
<select id="s-region-jobbank">
|
||||
<option value="">All of Denmark</option>
|
||||
{% for value, label in jobbank_regions %}<option value="{{ value }}">{{ label }}</option>{% endfor %}
|
||||
</select></label>
|
||||
<label data-provider="jobbank" hidden>Remote work
|
||||
<select id="s-remote-jobbank">
|
||||
<option value="">Any</option>
|
||||
{% for value, label in jobbank_remote %}<option value="{{ value }}">{{ label }}</option>{% endfor %}
|
||||
</select></label>
|
||||
<label>Pages
|
||||
<input type="number" id="s-pages" min="1" max="10" value="10">
|
||||
<span class="hint">per pull, up to 10</span></label>
|
||||
|
||||
Reference in new issue
Block a user