Skip to content

Commit

Permalink
chg: [crawler] disable unsafe title auto tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Oct 14, 2024
1 parent e55aeab commit 1112615
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/crawlers/Crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,10 @@ def save_capture_response(self, parent_id, entries):
title.add(item.get_date(), item)
# Tracker
self.tracker_yara.compute_manual(title)
if not title.is_tags_safe():
unsafe_tag = 'dark-web:topic="pornography-child-exploitation"'
self.domain.add_tag(unsafe_tag)
item.add_tag(unsafe_tag)
# if not title.is_tags_safe():
# unsafe_tag = 'dark-web:topic="pornography-child-exploitation"'
# self.domain.add_tag(unsafe_tag)
# item.add_tag(unsafe_tag)

# SCREENSHOT
if self.screenshot:
Expand Down

0 comments on commit 1112615

Please sign in to comment.