diff --git a/README.md b/README.md index 3930f05..121add8 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,12 @@ A file called `rss.xml` will be created. ## Development +Activate Debug messages by console. + +``` +export SR_LOG_LEVEl=DEBUG +``` + ### Compiling ```shell diff --git a/requirements.txt b/requirements.txt index 0a933a7..eb15635 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ feedgen==0.9.0 feedparser==6.0.10 listparser==0.19.0 -lxml==4.9.2 +lxml==4.9.3 python-dateutil==2.8.2 pyyaml==6.0 -pyinstaller==5.13.0 \ No newline at end of file +pyinstaller==6.0.0 \ No newline at end of file diff --git a/rssingle.py b/rssingle.py index 4baf136..e361a89 100755 --- a/rssingle.py +++ b/rssingle.py @@ -171,7 +171,7 @@ def main(): fe.published("1970-01/01T00:00:00+00:00") fe.updated("1970-01/01T00:00:00+00:00") continue - except KeyError: + except Exception: # Sometimes feeds don't even provide a publish date, so we default to # the start date &time of the Unix epoch. log.warning("Empty publish attribute, defaulting..")