Files
JobSourceAgent/jobsource/resolve.py
2026-06-17 08:38:15 -04:00

11 lines
502 B
Python

"""Resolve company name → company website URL (Stage 1b, deterministic).
Scaffold stub -- not implemented yet.
"""
# TODO (Stage 1b): implement per CLAUDE.md "Stage 1b — Resolve website (deterministic)".
# Resolution order:
# 1. Use provider-supplied website if present.
# 2. Verified domain guess: normalize company name to {slug}.com and probe via HTTP HEAD.
# 3. Optional search API (SEARCH_API_ENABLED=true) as final fallback.
# Returns the resolved URL string, or None if unresolvable.