Increase Tildes story score requirement

master
Tanner Collin 11 months ago
parent f15d108971
commit 2838ea9b41
  1. 2
      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

Loading…
Cancel
Save