summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-08-18 18:38:33 -0500
committerOmar Roth <omarroth@hotmail.com>2018-08-18 18:38:33 -0500
commit16c7d99dd82485471451c63ae8d8d810f29d1e0d (patch)
treeb6b651a8510abab92fab6470b59a3159140d8291
parent55f8fd0b585644b064fba4dbba24293d3cf3aa85 (diff)
downloadinvidious-16c7d99dd82485471451c63ae8d8d810f29d1e0d.tar.gz
invidious-16c7d99dd82485471451c63ae8d8d810f29d1e0d.tar.bz2
invidious-16c7d99dd82485471451c63ae8d8d810f29d1e0d.zip
Fix channel feeds
-rw-r--r--src/invidious.cr2
1 files changed, 1 insertions, 1 deletions
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 }