JBrowser Source Docs
You are reading the documentation for JBrowser 1.4.0. The newest release is 1.5.4. Go to the latest documentation

jbrowser.services.favicons

Generated from the source code of JBrowser 1.4.0.

jbrowser/services/favicons.py · 71 lines

Persistent favicon cache keyed by host (never written for incognito spaces).

FaviconCache#

class FaviconCache(QObject)source
FaviconCache(folder: Path, parent: QObject | None=None)

Signals

Signal Arguments
updated (str)

FaviconCache.get#

get(url_or_host: str) -> QIconsource

FaviconCache.store#

store(url: str, icon: QIcon, persist: bool=True) -> Nonesource

FaviconCache.forget#

forget(host: str) -> Nonesource

FaviconCache.clear#

clear() -> Nonesource