Update faviconextractor HtmlAgilityPack call (#715)

This commit is contained in:
Leendert de Borst
2025-03-25 11:32:39 +01:00
committed by Leendert de Borst
parent 5443e147b1
commit 4ee044ffb9

View File

@@ -71,7 +71,7 @@ public static class FaviconExtractor
var favicons = faviconNodes
.Select(node => new
{
Url = node.GetAttributeValue("href", null),
Url = node.GetAttributeValue("href", string.Empty),
Size = GetFaviconSize(node.GetAttributeValue("sizes", "0x0")),
})
.Where(favicon => !string.IsNullOrEmpty(favicon.Url))