- collect-channel-data: gangnamUnni scraping no longer requires verified=true. Fallback: Firecrawl search for gangnamunni.com URL when discover-channels failed to verify. Solves empty ratings/reviews. - generate-report: Perplexity prompt now explicitly requests leadDoctor (name, specialty, rating, reviewCount) and staffCount in clinicInfo. - transformReport: clinicInfo type extended with leadDoctor + staffCount; transformation prefers clinic.leadDoctor over doctors[0] fallback. Root cause: clinic_registry table not yet in DB → discover-channels always falls back to API search → gangnamUnni URL not found → collect-channel-data skips gangnamUnni → all clinic metrics empty. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| deno.json | ||
| index.ts | ||