jared hace 1 año
padre
commit
3dc6293f8c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      deployment/test_random.py

+ 1 - 1
deployment/test_random.py

@@ -171,7 +171,7 @@ def run_once(jsobj):
             href=elmt.get_attribute('href')
             txt=elmt.text
 #            history.insert({'ranking':idx,'kw':kw,'results':numresults,'url':href,'title':txt})
-            if '坑殺' in txt or '侵占' in txt or '判決書' in txt or '強佔' in txt or '掏空' in txt or '送達公告' in txt or '違反勞動'in txt:
+            if '坑殺' in txt or '侵占' in txt or '判決書' in txt or '強佔' in txt or '掏空' in txt or '送達公告' in txt or '違反勞動'in txt or '不倫' in txt or '開房' in txt  or '摩鐵' in txt:
                 neg_count+=1
                 neg_total+=idx
             if len(txt)>10: