mirror of
https://github.com/iv-org/invidious.git
synced 2026-11-11 10:43:21 +05:30
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:
1 parent
fcec088154
commit
64ee76c9f7
1 file changed
+1
-1
@@ -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