purge_dead_listings
Verifies each scouted job URL for availability and removes expired postings. Detects 404/410 errors and closure phrases; use dry_run to preview changes.
Instructions
Checks every scouted job URL for liveness and removes expired or unavailable postings from scouted_jobs.json. Detects dead listings via HTTP 404/410 status codes and known closure phrases in page content (e.g. 'no longer accepting applications'). Connection errors and 5xx responses are treated as 'keep' to avoid false positives. Pass dry_run=true to preview what would be removed without actually deleting anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, check URLs but do not modify scouted_jobs.json. Defaults to false. |