diff --git a/modules/link.py b/modules/link.py index b8d6677d..28223da2 100644 --- a/modules/link.py +++ b/modules/link.py @@ -73,6 +73,7 @@ def __init__(self, link): raise err self._node = BeautifulSoup(self.response.text, 'html.parser') + self.uri = link if not self._node.title: self.name = "TITLE NOT FOUND" self.status = color(link, 'yellow') diff --git a/torBot.py b/torBot.py index 20d99440..c494e3e5 100644 --- a/torBot.py +++ b/torBot.py @@ -153,7 +153,7 @@ def main(): saveJson('Emails', node.emails) # -i/--info elif args.info: - execute_all(node.name) + execute_all(node.uri) if args.save: print('Nothing to save.\n') elif args.visualize: