From 64ee76c9f7df41e4acd55ec46ec04df94dc7950f Mon Sep 17 00:00:00 2001 From: Fijxu Date: Sat, 31 Oct 2026 19:17:03 -0300 Subject: [PATCH] fix: fix the OPML export for FreeTube (#6109) Fixes the OPML export for FreeTube as FreeTube uses `https://www.youtube.com/feeds/videos.xml?channel_id=` URL for the `xmlUrl` in their exports. --- src/invidious/user/exports.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/user/exports.cr b/src/invidious/user/exports.cr index d8f3d5385..430228973 100644 --- a/src/invidious/user/exports.cr +++ b/src/invidious/user/exports.cr @@ -85,7 +85,7 @@ struct Invidious::User xml.element("outline", text: title, title: title) do subscriptions.each do |channel| - xml_url = "#{HOST_URL}/feed/channel/#{channel.id}" + xml_url = "https://www.youtube.com/feeds/videos.xml?channel_id=#{channel.id}" xml.element("outline", text: channel.author, title: channel.author, "type": "rss", xmlUrl: xml_url)