From ad2fa2b7753aedc814f5de602aa1e4ef1f33584a Mon Sep 17 00:00:00 2001 From: Nikola Petrov Date: Mon, 12 Oct 2026 21:29:24 +0200 Subject: [PATCH] Add Optius scraper via its official RSS feed Optius publishes an RSS feed with region/field filters, so no HTML scraping is needed. Also move the duplicated slug helper into http.ts (output unchanged, so existing source IDs and URLs are unaffected). Co-Authored-By: Claude Opus 5.5 --- scrapper/README.md | 1 + scrapper/src/scrapers/adecco.ts | 9 ++----- scrapper/src/scrapers/http.ts | 9 +++++++ scrapper/src/scrapers/index.ts | 2 ++ scrapper/src/scrapers/mojedelo.ts | 12 +-------- scrapper/src/scrapers/optius.ts | 42 +++++++++++++++++++++++++++++++ 6 files changed, 57 insertions(+), 18 deletions(-) create mode 100644 scrapper/src/scrapers/optius.ts diff --git a/scrapper/README.md b/scrapper/README.md index ca175f1..841060c 100644 --- a/scrapper/README.md +++ b/scrapper/README.md @@ -12,6 +12,7 @@ No runtime dependencies. It uses Bun's built-in SQLite, HTTP server and HTMLRewr | startup.si | HTML scrape (no public API or feed) | Site lists every posting since 2019 on one page, so only the last 90 days are kept (`startupSi(days)` in `src/scrapers/index.ts`) | | adecco.com (Slovenia, IT) | Internal JSON API the site's job search uses (no public API) | Filtered by category; add more with `adecco("", "