Fix broken reddit video thumbnail URLs

This commit is contained in:
Svilen Markov 2024-12-26 13:16:38 +00:00
parent b4b61c94d7
commit 0702e0abd3

View File

@ -227,7 +227,7 @@ func fetchSubredditPosts(subreddit, sort, topPeriod, search, commentsUrlTemplate
}
if post.Thumbnail != "" && post.Thumbnail != "self" && post.Thumbnail != "default" && post.Thumbnail != "nsfw" {
forumPost.ThumbnailUrl = post.Thumbnail
forumPost.ThumbnailUrl = html.UnescapeString(post.Thumbnail)
}
if !post.IsSelf {