jared 1 rok temu
rodzic
commit
3dc6293f8c
1 zmienionych plików z 1 dodań i 1 usunięć
  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: