fromPage

fun fromPage(siteUrl: String, withManifest: Boolean = false): List<Icon>

Analyzes the HTML of the specified URL and extract the icon information specified by the link tag.

Do not call from main thread to avoid NetworkOnMainThreadException

The HTML file is downloaded up to the maximum downloadLimit and analyzed within that range.

Return

List of acquired icons

Parameters

siteUrl

URL of analysis target page

withManifest

true: extract Web App Manifest icon too, if it exists. false: only from link tag