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.
This commit is contained in:
Fijxu
2026-10-31 19:17:03 -03:00
committed by GitHub
parent fcec088154
commit 64ee76c9f7

View File

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