forked from tanner/qotnews
Increase Tildes story score requirement
This commit is contained in:
parent
f15d108971
commit
2838ea9b41
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user