Invidious is an alternative front-end to YouTube
remove https from channel thumbnail in search
Andrew Zhaod0dbbd1cb1b3
diff --git a/src/invidious/helpers/helpers.cr b/src/invidious/helpers/helpers.crindex 1f56ec92..6bbb18cb 100644--- a/src/invidious/helpers/helpers.cr+++ b/src/invidious/helpers/helpers.cr@@ -225,7 +225,7 @@ def extract_item(item : JSON::Any, author_fallback : String? = nil, author_id_faauthor = i["title"]["simpleText"]?.try &.as_s || author_fallback || ""author_id = i["channelId"]?.try &.as_s || author_id_fallback || ""- author_thumbnail = i["thumbnail"]["thumbnails"]?.try &.as_a[0]?.try { |u| "https:#{u["url"]}" } || ""+ author_thumbnail = i["thumbnail"]["thumbnails"]?.try &.as_a[0]?.try &.["url"]?.try &.as_s || ""subscriber_count = i["subscriberCountText"]?.try &.["simpleText"]?.try &.as_s.try { |s| short_text_to_number(s.split(" ")[0]) } || 0auto_generated = false