Invidious is an alternative front-end to YouTube
Fix description field for /api/v1/videos
Omar Rothddd74549fe31
diff --git a/src/invidious/videos.cr b/src/invidious/videos.crindex b67cf0c9..1da9fd0e 100644--- a/src/invidious/videos.cr+++ b/src/invidious/videos.cr@@ -262,8 +262,8 @@ struct Videogenerate_storyboards(json, self.storyboards, config, kemal_config)end- json.field "description", html_to_content(self.description)- json.field "descriptionHtml", self.description+ json.field "description", html_to_content(self.description).last+ json.field "descriptionHtml", html_to_content(self.description).firstjson.field "published", self.published.to_unixjson.field "publishedText", translate(locale, "`x` ago", recode_date(self.published, locale))json.field "keywords", self.keywords