diff options
-rw-r--r-- | pyaggr3g470r/crawler.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pyaggr3g470r/crawler.py b/pyaggr3g470r/crawler.py index f14d2154..70c2b441 100644 --- a/pyaggr3g470r/crawler.py +++ b/pyaggr3g470r/crawler.py @@ -149,7 +149,11 @@ class FeedGetter(object): articles = [] for article in a_feed['entries']: - nice_url = article.link.encode("utf-8") + try: + nice_url = article.link.encode("utf-8") + except: + # if not able to get the link of the article, continue + continue if conf.RESOLVE_ARTICLE_URL: try: # resolves URL behind proxies |