From 363801fff7b12978ec0b649dd224d908aaf0a874 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Thu, 19 Dec 2019 08:52:02 +0100 Subject: [PATCH] fix: [Crawler] fix screenshot-domain map --- bin/torcrawler/TorSplashCrawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/torcrawler/TorSplashCrawler.py b/bin/torcrawler/TorSplashCrawler.py index 67c3cffc..053acc75 100644 --- a/bin/torcrawler/TorSplashCrawler.py +++ b/bin/torcrawler/TorSplashCrawler.py @@ -203,7 +203,7 @@ class TorSplashCrawler(): self.r_serv_onion.sadd('screenshot:{}'.format(hash), relative_filename_paste) # domain map r_serv_onion.sadd('domain_screenshot:{}'.format(domain[0]), hash) - r_serv_onion.sadd('screenshot_domain:{}'.format(hash), domain[0]) + r_serv_onion.sadd('screenshot_domain:{}'.format(hash), self.domain[0]) if 'har' in response.data: dirname = os.path.dirname(filename_har)