aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyaggr3g470r/feedgetter.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pyaggr3g470r/feedgetter.py b/pyaggr3g470r/feedgetter.py
index d3195fb0..7b157211 100644
--- a/pyaggr3g470r/feedgetter.py
+++ b/pyaggr3g470r/feedgetter.py
@@ -131,7 +131,10 @@ class FeedGetter(object):
# save the article
article = models.Article(post_date, real_url, article_title, description, False, False)
- article.save()
+ try:
+ article.save()
+ except:
+ continue
articles.append(article)
# add the article to the Whoosh index
bgstack15