diff --git a/apiserver/feeds/hackernews.py b/apiserver/feeds/hackernews.py index 8fe1c47..04c7ef1 100644 --- a/apiserver/feeds/hackernews.py +++ b/apiserver/feeds/hackernews.py @@ -146,6 +146,9 @@ def story(ref): return False + if not s['title']: + return False + if s['score'] < 25 and s['num_comments'] < 10: logging.info('Score ({}) or num comments ({}) below threshold.'.format(s['score'], s['num_comments'])) return False