mirror of
https://github.com/iv-org/invidious.git
synced 2026-11-01 17:37:15 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user