diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-08-18 18:38:33 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-08-18 18:38:33 -0500 |
| commit | 16c7d99dd82485471451c63ae8d8d810f29d1e0d (patch) | |
| tree | b6b651a8510abab92fab6470b59a3159140d8291 | |
| parent | 55f8fd0b585644b064fba4dbba24293d3cf3aa85 (diff) | |
| download | invidious-16c7d99dd82485471451c63ae8d8d810f29d1e0d.tar.gz invidious-16c7d99dd82485471451c63ae8d8d810f29d1e0d.tar.bz2 invidious-16c7d99dd82485471451c63ae8d8d810f29d1e0d.zip | |
Fix channel feeds
| -rw-r--r-- | src/invidious.cr | 2 |
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 } |
