1
0
mirror of https://github.com/glanceapp/glance.git synced 2025-07-12 20:45:10 +02:00

Use author > name instead of title

This is because the playlist response returns the name of the playlist in the title,
which meant that the channel name was always "Videos"
This commit is contained in:
Svilen Markov
2024-08-03 04:02:23 +01:00
parent 09eedc08c1
commit acaf50bf8a

@ -10,7 +10,7 @@ import (
) )
type youtubeFeedResponseXml struct { type youtubeFeedResponseXml struct {
Channel string `xml:"title"` Channel string `xml:"author>name"`
ChannelLink struct { ChannelLink struct {
Href string `xml:"href,attr"` Href string `xml:"href,attr"`
} `xml:"link"` } `xml:"link"`