summaryrefslogtreecommitdiffstats
path: root/schema
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-11-28 20:19:53 -0500
committersiddharth <s@ricketyspace.net>2021-11-28 20:19:53 -0500
commit2c00caf94bd002a902769cf7f711ba469d719e04 (patch)
tree724ca73e8dd9b8852cd0a8aec14ee891f67b2151 /schema
parent97cb168a09cf4b9acab87ed4aa061be1c1904c61 (diff)
schema: update YouTubeEntry
Add 'Title'.
Diffstat (limited to 'schema')
-rw-r--r--schema/schema.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/schema/schema.go b/schema/schema.go
index 4d46102..7ae0ac7 100644
--- a/schema/schema.go
+++ b/schema/schema.go
@@ -37,6 +37,7 @@ type YouTubeLink struct {
type YouTubeEntry struct {
XMLName xml.Name `xml:"entry"`
Id string `xml:"id"`
+ Title string `xml:"group>title"`
Pub string `xml:"published"` // RFC3339
PubTime time.Time
Link YouTubeLink `xml:"group>content"`