Support more favicon cases

This commit is contained in:
Shinokuni 2019-02-15 12:22:35 +00:00
parent b53463b2d4
commit 81d5d7a80a
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ public final class HtmlParser {
Elements elements = document.select("link");
for (Element element : elements) {
if (element.attributes().get("rel").contains("icon")) {
if (element.attributes().get("rel").toLowerCase().contains("icon")) {
favUrl = element.absUrl("href");
break;
}