import importlib.util
import sys
from pathlib import Path

source = Path('/data/codex-artifacts/contextra/field-maintenance/2026/2026-11-01_icerti-web-media-analysis_r01/helpers/capture.py')
spec = importlib.util.spec_from_file_location('reader', source)
reader = importlib.util.module_from_spec(spec)
spec.loader.exec_module(reader)
reader.ROOT = Path(__file__).resolve().parents[1]
reader.capture(sys.argv[1], 35)
