diff --git a/utils.py b/utils.py index 6a0e888e5..54969c6c6 100644 --- a/utils.py +++ b/utils.py @@ -3229,4 +3229,6 @@ def getFavFilenameFromUrl(baseDir: str, faviconUrl: str) -> str: """ if '://' in faviconUrl: faviconUrl = faviconUrl.split('://')[1] + if '/favicon' in faviconUrl: + faviconUrl = faviconUrl.replace('/favicon', '') return baseDir + '/favicons/' + faviconUrl.replace('/', '-')