mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-22 22:27:17 +00:00
chg: [crawler] disable unsafe title auto tagging
This commit is contained in:
parent
e55aeab11c
commit
1112615ec3
1 changed files with 4 additions and 4 deletions
|
@ -354,10 +354,10 @@ class Crawler(AbstractModule):
|
||||||
title.add(item.get_date(), item)
|
title.add(item.get_date(), item)
|
||||||
# Tracker
|
# Tracker
|
||||||
self.tracker_yara.compute_manual(title)
|
self.tracker_yara.compute_manual(title)
|
||||||
if not title.is_tags_safe():
|
# if not title.is_tags_safe():
|
||||||
unsafe_tag = 'dark-web:topic="pornography-child-exploitation"'
|
# unsafe_tag = 'dark-web:topic="pornography-child-exploitation"'
|
||||||
self.domain.add_tag(unsafe_tag)
|
# self.domain.add_tag(unsafe_tag)
|
||||||
item.add_tag(unsafe_tag)
|
# item.add_tag(unsafe_tag)
|
||||||
|
|
||||||
# SCREENSHOT
|
# SCREENSHOT
|
||||||
if self.screenshot:
|
if self.screenshot:
|
||||||
|
|
Loading…
Reference in a new issue