We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32f021c commit 0dadb64Copy full SHA for 0dadb64
1 file changed
api_app/analyzers_manager/observable_analyzers/dns/doh_mixin.py
@@ -19,10 +19,9 @@ def run(self) -> dict:
19
headers: dict = {"Accept": "application/dns-message"}
20
query_type: str
21
22
- @staticmethod
23
- def convert_to_domain(observable: str, classification: str) -> str:
+ def convert_to_domain(self, observable: str, classification: str) -> str:
24
if classification == Classification.URL:
25
- logger.debug(f"Mullvad_DNS extracting hostname from URL {observable}")
+ logger.debug(f"{self} extracting hostname from URL {observable}")
26
hostname = urlparse(observable).hostname
27
observable = hostname
28
return observable
0 commit comments