Skip to content

Job aggregation

Explore in graph

What it does

Jobs are collected automatically from outside sources so the team does not have to find them by hand. Two separate services do this today.

Service Scale Where its jobs go
unicorn_aggregator Feed-based: Fantastic Jobs, simpleapply, hiring.cafe, builtin Written straight into the backend's job collection
aggregator-2 Crawler: about 45 job boards, plus APIs and jobspy Its own database, exported to a Google Sheet

How collection works

unicorn_aggregator runs on a schedule:

  1. Each enabled provider is fetched. Fantastic Jobs runs hourly; simpleapply runs daily.
  2. Jobs are filtered out when their title, company or URL matches a blocked keyword, or when they use "easy apply", depending on settings.
  3. Jobs already seen in the last 10 days are skipped.
  4. The rest are saved in the shared job collection.
  5. A Telegram message can report each run.

aggregator-2 runs crawls through a job queue:

  1. Hourly and daily schedules add crawl jobs to the queue.
  2. Workers visit each board (with a browser for some, APIs for others) and normalise the results.
  3. Jobs are saved to its own database; some are checked again to find the real application URL.
  4. A Google Sheet is refreshed hourly.

Caveats

  • The two aggregators overlap on some sources (builtin and hiring.cafe).
  • The unicorn aggregator's job data reaches the backend only when both use the same database name. See data flows.
  • aggregator-2's job records are not connected to the backend.

For engineers

unicorn: app/aggregator/service.py (provider registry), app/aggregator/fantastic_jobs.py, routes GET /api/jobs, POST /api/aggregate. aggregator-2: backend/config/queue.js (queues and schedules), backend/workers/normalize.js, backend/bin/cron-crawl.js. Full list: feature map.