1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-14 22:30:28 +05:30

Merge pull request #1413 from Bnyro/master

proxy channel feeds
This commit is contained in:
Bnyro 2022-09-09 12:41:06 +02:00 committed by GitHub
commit a5870c1904
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"
> >