Fix channel feeds

pull/143/head
Omar Roth 2018-08-18 18:38:33 -05:00
rodzic 55f8fd0b58
commit 16c7d99dd8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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 }