podgrab icon indicating copy to clipboard operation
podgrab copied to clipboard

Issue with pubDate reading (<pubDate>Sun, 19 Dec 2021</pubDate>)

Open NotExpectedYet opened this issue 3 years ago • 2 comments

Before creating a bug report please make sure you are using the latest docker image / code base.

Please complete the following information

  • Installation Type: [Docker]
  • Have you tried using the latest docker image / code base [yes]

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior: Add this podcast rss - https://www.sott.net/xml_engine/sott_talk_radio get these errors on the date

Cant format date : Sun, 02 Mar 2014Cant format date : Sun, 23 Feb 2014Cant format date : Sun, 16 Feb 2014Cant format date : Sun, 09 Feb 2014[GIN] 2021/12/22 - 09:31:07 | 302 | 79.306386ms | 51.52.66.49 | GET "/podcastitems/1a5930ee-bfa4-42c0-b8b9-5fa7899f6e81/image"
Cant format date : Sun, 02 Feb 2014Cant format date : Sun, 26 Jan 2014Cant format date : Sun, 19 Jan 2014Cant format date : Sun, 12 Jan 2014Player Not Exists

Expected behavior To parse the date

NotExpectedYet avatar Dec 22 '21 09:12 NotExpectedYet

Not sure if there would be a way to work around a date string formatted like that. Either way, that string does not comply with RFC-822 date time string standards so it is formatted wrong. The problem is the feed and you should tell them to make their RSS feed compliant. Not a bug

https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fwww.sott.net%2Fxml_engine%2Fsott_talk_radio

Ryochan7 avatar Dec 22 '21 18:12 Ryochan7

Sound cheers anyway

NotExpectedYet avatar Dec 22 '21 19:12 NotExpectedYet