/** * Refresh the basel-jobs.ch DataDome cookie. * * Opens a real Chrome window for a few seconds — headless and Playwright-launched * browsers are both fingerprinted and blocked, so this cannot run unattended. * Run it by hand when `bun fetch` reports basel-jobs.ch as unavailable. */ import { mintDataDomeSession } from "../fetch-other.ts"; const session = await mintDataDomeSession(); if (!session) { console.error("failed to mint a DataDome cookie"); process.exit(1); } console.log(`ok — minted ${session.mintedAt}`);