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

View File

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