Ignore blank hackernews titles

This commit is contained in:
Tanner
2025-07-07 17:19:31 +00:00
parent 10629200b0
commit 6fa02367dd
+3
View File
@@ -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