jared 1 年之前
父节点
当前提交
3dc6293f8c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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: