Skip to content

Invidious is an alternative front-end to YouTube

Fix channel feeds

Omar Roth16c7d99dd824
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 }