A self-hosted dashboard that puts all your feeds in one place
Go aggregatordashboarddockerfeed-readergohomelabhomepagemonitoringredditrssrss-readerself-hostedstartpageyoutube
Fix broken reddit video & nsfw post thumbnails
Svilen Markove546488aebaa
diff --git a/internal/feed/reddit.go b/internal/feed/reddit.goindex 297020c..77a6e89 100644--- a/internal/feed/reddit.go+++ b/internal/feed/reddit.go@@ -111,8 +111,8 @@ func FetchSubredditPosts(subreddit, sort, topPeriod, search, commentsUrlTemplateTimePosted: time.Unix(int64(post.Time), 0),}- if post.Thumbnail != "" && post.Thumbnail != "self" && post.Thumbnail != "default" {- forumPost.ThumbnailUrl = post.Thumbnail+ if post.Thumbnail != "" && post.Thumbnail != "self" && post.Thumbnail != "default" && post.Thumbnail != "nsfw" {+ forumPost.ThumbnailUrl = html.UnescapeString(post.Thumbnail)}if !post.IsSelf {