You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
in th_rss, ignore completly the feed with invalid date format.
actually when _get_published return empty string (that means FeedParser could not parse the pubDate at all and return None), then the published var is set to now.
This could leads to a flood of unexpected data to the target service
so need to switch
published = now if published == '' else arrow.get(str(published)).to(settings.TIME_ZONE)
to
if published:
published = arrow.get(str(published)).to(settings.TIME_ZONE)
The text was updated successfully, but these errors were encountered:
in th_rss, ignore completly the feed with invalid date format.
actually when _get_published return empty string (that means FeedParser could not parse the pubDate at all and return None), then the published var is set to now.
This could leads to a flood of unexpected data to the target service
so need to switch
to
The text was updated successfully, but these errors were encountered: