MojeDelo has no public API; use the internal JSON API its search page calls. Tenant headers are read from the site's public config each run. Takes a search URL copied from the site, paginates, and checks results against the requested category/region filters. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
708 B
TypeScript
23 lines
708 B
TypeScript
import { adecco } from "./adecco";
|
|
import { mojeDelo } from "./mojedelo";
|
|
import { sloTech } from "./slotech";
|
|
import { startupSi } from "./startupsi";
|
|
import type { Scraper } from "./types";
|
|
|
|
/**
|
|
* All active scrapers. To add a site:
|
|
* 1. create src/scrapers/<site>.ts exporting an object implementing `Scraper`
|
|
* 2. add it to this list
|
|
*/
|
|
export const scrapers: Scraper[] = [
|
|
sloTech("Ljubljana"),
|
|
startupSi(),
|
|
adecco("ADCSICAT014", "IT"),
|
|
mojeDelo(
|
|
"IT, Osrednjeslovenska",
|
|
"https://www.mojedelo.com/iskanje-zaposlitve?jobCategoryIds=64f003ff-6d8b-4be0-b58c-4580e4eeeb8a®ionIds=d1dce9b1-9fa4-438b-b582-10d371d442e6",
|
|
),
|
|
];
|
|
|
|
export type { Scraper, ScrapedJob } from "./types";
|