proxy channel feeds

This commit is contained in:
Bnyro 2022-09-09 12:40:18 +02:00
parent 93203e60ca
commit e4446cd7e9
2 changed files with 2 additions and 4 deletions

View file

@ -28,7 +28,7 @@
title="RSS feed" title="RSS feed"
role="button" role="button"
v-if="channel.id" v-if="channel.id"
:href="`https://www.youtube.com/feeds/videos.xml?channel_id=${channel.id}`" :href="`${apiUrl()}/feed/unauthenticated/rss?channels=${channel.id}`"
target="_blank" target="_blank"
class="btn flex-col ml-3" class="btn flex-col ml-3"
> >

View file

@ -102,9 +102,7 @@
title="RSS feed" title="RSS feed"
role="button" role="button"
v-if="video.uploaderUrl" v-if="video.uploaderUrl"
:href="`https://www.youtube.com/feeds/videos.xml?channel_id=${ :href="`${apiUrl()}/feed/unauthenticated/rss?channels=${video.uploaderUrl.split('/')[2]}`"
video.uploaderUrl.split('/')[2]
}`"
target="_blank" target="_blank"
class="btn flex-col" class="btn flex-col"
> >