mirror of
https://github.com/BreizhHardware/glance.git
synced 2026-01-18 16:57:22 +01:00
Fix broken reddit video thumbnail URLs
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user