From 2838ea9b41135a2f8b542d6eb15c5832d160712e Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sun, 11 Jun 2023 01:01:31 +0000 Subject: [PATCH] Increase Tildes story score requirement --- apiserver/feeds/tildes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/feeds/tildes.py b/apiserver/feeds/tildes.py index 372f2de..30f1972 100644 --- a/apiserver/feeds/tildes.py +++ b/apiserver/feeds/tildes.py @@ -107,7 +107,7 @@ def story(ref): ch = a.find('header', class_='topic-comments-header') s['num_comments'] = int(ch.h2.string.split(' ')[0]) if ch else 0 - if s['score'] < 8 and s['num_comments'] < 6: + if s['score'] < 16 and s['num_comments'] < 12: logging.info('Score ({}) or num comments ({}) below threshold.'.format(s['score'], s['num_comments'])) return False