From 44f02519aa53372a69da423ae4cec1e9f1d9e6db Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Mon, 24 Feb 2025 21:35:51 +0000 Subject: [PATCH] intake-rss: don't fail on bozo bit --- intake-rss/intake_rss/core.py | 3 +-- intake-rss/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/intake-rss/intake_rss/core.py b/intake-rss/intake_rss/core.py index c43b5f5..61af9a4 100644 --- a/intake-rss/intake_rss/core.py +++ b/intake-rss/intake_rss/core.py @@ -20,8 +20,7 @@ def main(): feed = feedparser.parse(feed_url) if feed.bozo: - stderr("Failed to parse feed", feed_url) - return 1 + stderr("warning: feed is not well-formed:", feed.bozo_exception) feed_title = os.environ.get("FEED_TITLE") or feed.feed.get("title") diff --git a/intake-rss/pyproject.toml b/intake-rss/pyproject.toml index ec98c3d..2d3daab 100644 --- a/intake-rss/pyproject.toml +++ b/intake-rss/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "intake-rss" -version = "1.3.0" +version = "1.3.1" [project.scripts] intake-rss = "intake_rss.core:main"