fix(feeds): torznab newznab pubdate parsing (#801)

fix(feeds): torznab newznab pubdate struct tag
This commit is contained in:
ze0s 2023-03-31 00:01:57 +02:00 committed by GitHub
parent fb6cbc775a
commit 64c2da591e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ type Response struct {
type FeedItem struct {
Title string `xml:"title,omitempty"`
GUID string `xml:"guid,omitempty"`
PubDate Time `xml:"pub_date,omitempty"`
PubDate Time `xml:"pubDate,omitempty"`
Prowlarrindexer struct {
Text string `xml:",chardata"`
ID string `xml:"id,attr"`

View file

@ -30,7 +30,7 @@ type Response struct {
type FeedItem struct {
Title string `xml:"title,omitempty"`
GUID string `xml:"guid,omitempty"`
PubDate Time `xml:"pub_date,omitempty"`
PubDate Time `xml:"pubDate,omitempty"`
Prowlarrindexer struct {
Text string `xml:",chardata"`
ID string `xml:"id,attr"`