diff --git a/bin/torcrawler/TorSplashCrawler.py b/bin/torcrawler/TorSplashCrawler.py index 475165b9..e505ab63 100644 --- a/bin/torcrawler/TorSplashCrawler.py +++ b/bin/torcrawler/TorSplashCrawler.py @@ -202,8 +202,8 @@ class TorSplashCrawler(): # add sha256 metadata self.r_serv_onion.sadd('screenshot:{}'.format(hash), relative_filename_paste) # domain map - r_serv_onion.sadd('domain_screenshot:{}'.format(self.domains[0]), hash) - r_serv_onion.sadd('screenshot_domain:{}'.format(hash), self.domains[0]) + self.r_serv_onion.sadd('domain_screenshot:{}'.format(self.domains[0]), hash) + self.r_serv_onion.sadd('screenshot_domain:{}'.format(hash), self.domains[0]) if 'har' in response.data: dirname = os.path.dirname(filename_har)