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"
pull/176/head
Svilen Markov 2024-08-03 04:02:23 +07:00
parent 09eedc08c1
commit acaf50bf8a
1 changed files with 1 additions and 1 deletions

@ -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"`