Internal Service β This is not an HTTP endpoint. Itβs called by the competitor research service.
Purpose
Adds favicon URLs to each competitor using Googleβs favicon service. Filters out generic globe icons.Function Signature
Parameters
| Parameter | Type | Description |
|---|---|---|
competitors | list | List of competitor dicts (modified in place) |
How It Works
- For each competitor, construct Google favicon URL
- Download the favicon and compute MD5 hash
- Compare against known βgeneric globeβ hash
- If generic, set
favicon_urlto empty string - If real favicon, keep the URL