Increase Tildes story score requirement

This commit is contained in:
Tanner Collin 2023-06-11 01:01:31 +00:00
parent f15d108971
commit 2838ea9b41

View File

@ -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