mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
changes to the way favicons are retrieved for YouTube feeds. Now instead of fetching the YouTube logo, it fetches the YouTube user's custom thumbnail.
This commit is contained in:
@@ -322,7 +322,7 @@ public class FeedREST {
|
||||
return Response.status(Status.NOT_FOUND).build();
|
||||
}
|
||||
Feed feed = subscription.getFeed();
|
||||
String url = feed.getLink() != null ? feed.getLink() : feed.getUrl();
|
||||
String url = faviconFetcher.exceptionUrl(feed.getUrl()) ? feed.getUrl() : (feed.getLink() != null ? feed.getLink() : feed.getUrl());
|
||||
byte[] icon = faviconFetcher.fetch(url);
|
||||
|
||||
ResponseBuilder builder = null;
|
||||
|
||||
Reference in New Issue
Block a user