will-lumley / FaviconFinder

A small swift library for iOS & macOS to detect favicons used by a website.
MIT License
161 stars 33 forks source link

Querying `https://youtube.com` returns the mobile site favicon #57

Closed will-lumley closed 2 years ago

will-lumley commented 2 years ago

The URL of the favicon is: https://m.youtube.com/static/favicon.ico

will-lumley commented 2 years ago

There is only one favicon that is declared in the HTML page of https://youtube.com, and it is as such: <link rel="icon" href="https://m.youtube.com/static/favicon.ico" type="image/x-icon">

As such, the reason the mobile favicon is returned is because it's the only one that exists in the HTML page.