fix: [Crawler] typo

This commit is contained in:
Terrtia 2019-12-19 16:58:36 +01:00
parent bda367f7f0
commit 354a4fef7d
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -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)