From cbcbeef256a854c8fa217fc3aaad459af0bfc616 Mon Sep 17 00:00:00 2001 From: akuma06 Date: Thu, 15 Jun 2017 21:55:55 +0200 Subject: [PATCH] Forgot subcat have attr not tags --- util/feeds/rss.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util/feeds/rss.go b/util/feeds/rss.go index b0c0d8bd..c2b315cb 100644 --- a/util/feeds/rss.go +++ b/util/feeds/rss.go @@ -138,9 +138,9 @@ type RssCategoryTorznab struct { type RssSubCat struct { XMLName xml.Name `xml:"subcat"` - ID string `xml:"id"` - Name string `xml:"name"` - Description string `xml:"description,omitempty"` + ID string `xml:"id,attr"` + Name string `xml:"name,attr"` + Description string `xml:"description,attr,omitempty"` } type RssTorrent struct {