From 16c7d99dd82485471451c63ae8d8d810f29d1e0d Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 18 Aug 2018 18:38:33 -0500 Subject: [PATCH] Fix channel feeds --- src/invidious.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious.cr b/src/invidious.cr index a823b69d..46fdc7a7 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -1386,7 +1386,7 @@ get "/feed/channel/:ucid" do |env| end nodeset = document.xpath_nodes(%q(//li[contains(@class, "feed-item-container")])) - extract_videos(nodeset).each do |video| + extract_videos(nodeset, ucid).each do |video| xml.element("entry") do xml.element("id") { xml.text "yt:video:#{video.id}" } xml.element("yt:videoId") { xml.text video.id }