mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(feeds): torznab newznab pubdate parsing (#801)
fix(feeds): torznab newznab pubdate struct tag
This commit is contained in:
parent
fb6cbc775a
commit
64c2da591e
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ type Response struct {
|
||||||
type FeedItem struct {
|
type FeedItem struct {
|
||||||
Title string `xml:"title,omitempty"`
|
Title string `xml:"title,omitempty"`
|
||||||
GUID string `xml:"guid,omitempty"`
|
GUID string `xml:"guid,omitempty"`
|
||||||
PubDate Time `xml:"pub_date,omitempty"`
|
PubDate Time `xml:"pubDate,omitempty"`
|
||||||
Prowlarrindexer struct {
|
Prowlarrindexer struct {
|
||||||
Text string `xml:",chardata"`
|
Text string `xml:",chardata"`
|
||||||
ID string `xml:"id,attr"`
|
ID string `xml:"id,attr"`
|
||||||
|
|
|
@ -30,7 +30,7 @@ type Response struct {
|
||||||
type FeedItem struct {
|
type FeedItem struct {
|
||||||
Title string `xml:"title,omitempty"`
|
Title string `xml:"title,omitempty"`
|
||||||
GUID string `xml:"guid,omitempty"`
|
GUID string `xml:"guid,omitempty"`
|
||||||
PubDate Time `xml:"pub_date,omitempty"`
|
PubDate Time `xml:"pubDate,omitempty"`
|
||||||
Prowlarrindexer struct {
|
Prowlarrindexer struct {
|
||||||
Text string `xml:",chardata"`
|
Text string `xml:",chardata"`
|
||||||
ID string `xml:"id,attr"`
|
ID string `xml:"id,attr"`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue