diff --git a/theHarvester/discovery/rapiddns.py b/theHarvester/discovery/rapiddns.py index f4e770d8..7c4162b4 100644 --- a/theHarvester/discovery/rapiddns.py +++ b/theHarvester/discovery/rapiddns.py @@ -34,7 +34,7 @@ async def do_search(self): self.total_results.append(f'{subdomain}:{str(cells[1].get_text()).strip()}') self.total_results = list({domain for domain in self.total_results}) except Exception as e: - print('An exception has occurred: ' + str(e)) + print(f'An exception has occurred: {str(e)}') async def process(self, proxy=False): self.proxy = proxy