fix: [module_extractor] fix onion extraction

master
terrtia 2024-12-10 11:28:25 +01:00
parent f77c9268bb
commit f7c92348bb
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class Onion(AbstractModule):
def extract(self, obj, content, tag):
extracted = []
if self.obj.type == 'item':
if obj.type == 'item':
if 'infoleak:submission="crawler"' in obj.get_tags():
return extracted
onions = self.regex_finditer(self.onion_regex, obj.get_global_id(), content)