Invidious is an alternative front-end to YouTube
Don't discard search results with no metadata
Omar Rothabb15b82e653
diff --git a/src/invidious/helpers/helpers.cr b/src/invidious/helpers/helpers.crindex 8a2e5980..fa0d5de4 100644--- a/src/invidious/helpers/helpers.cr+++ b/src/invidious/helpers/helpers.cr@@ -302,9 +302,6 @@ def extract_items(nodeset, ucid = nil)id = id.lchop("/watch?v=")metadata = node.xpath_nodes(%q(.//div[contains(@class,"yt-lockup-meta")]/ul/li))- if metadata.empty?- next- endbeginpublished = decode_date(metadata[0].content.lchop("Streamed ").lchop("Starts "))