From 354a4fef7d16e0a169c1f00f07fdc392c96631cf Mon Sep 17 00:00:00 2001 From: Terrtia Date: Thu, 19 Dec 2019 16:58:36 +0100 Subject: [PATCH] fix: [Crawler] typo --- bin/torcrawler/TorSplashCrawler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)