diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-11-08 22:48:21 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-11-08 22:48:21 +0100 |
commit | deade3f7e97921ddc7b5d619b2376083525f717c (patch) | |
tree | e935a01c075264160c52f680ab708f009c81079d /pyaggr3g470r/crawler.py | |
parent | Updated translations. (diff) | |
download | newspipe-deade3f7e97921ddc7b5d619b2376083525f717c.tar.gz newspipe-deade3f7e97921ddc7b5d619b2376083525f717c.tar.bz2 newspipe-deade3f7e97921ddc7b5d619b2376083525f717c.zip |
Log 'bozo' exception.
Diffstat (limited to 'pyaggr3g470r/crawler.py')
-rw-r--r-- | pyaggr3g470r/crawler.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pyaggr3g470r/crawler.py b/pyaggr3g470r/crawler.py index d65d03bd..b933f6aa 100644 --- a/pyaggr3g470r/crawler.py +++ b/pyaggr3g470r/crawler.py @@ -128,6 +128,8 @@ class FeedGetter(object): """ logger.info("Fetching the feed: " + feed.title) a_feed = feedparser.parse(feed.link, handlers=[self.proxy]) + if a_feed['bozo'] == 1: + logger.error(a_feed['bozo_exception']) if a_feed['entries'] == []: return |