fix: [DomClassifier] improve perf

dev
terrtia 2024-01-09 11:26:05 +01:00
parent 5c25ec0fea
commit 7263a9777c
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -60,9 +60,9 @@ class DomClassifier(AbstractModule):
try: try:
self.c.text(rawtext=host) self.c.text(rawtext=host)
print(self.c.domain)
if not self.c.domain: if not self.c.domain:
return return
print(self.c.domain)
self.c.validdomain(passive_dns=True, extended=False) self.c.validdomain(passive_dns=True, extended=False)
# self.logger.debug(self.c.vdomain) # self.logger.debug(self.c.vdomain)