Skip to main content
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

How It Works

  1. For each competitor, construct Google favicon URL
  2. Download the favicon and compute MD5 hash
  3. Compare against known β€œgeneric globe” hash
  4. If generic, set favicon_url to empty string
  5. If real favicon, keep the URL

Google Favicon Service

Generic Globe Detection

Google returns a generic globe icon for domains without favicons. We detect this by comparing MD5 hashes:

Code Location