fix: [Crawler] fix screenshot-domain typo

This commit is contained in:
Terrtia 2019-12-19 08:54:32 +01:00
parent 3d81f30043
commit 218f1af241
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -202,7 +202,7 @@ class TorSplashCrawler():
# add sha256 metadata # add sha256 metadata
self.r_serv_onion.sadd('screenshot:{}'.format(hash), relative_filename_paste) self.r_serv_onion.sadd('screenshot:{}'.format(hash), relative_filename_paste)
# domain map # domain map
r_serv_onion.sadd('domain_screenshot:{}'.format(domain[0]), hash) r_serv_onion.sadd('domain_screenshot:{}'.format(self.domains[0]), hash)
r_serv_onion.sadd('screenshot_domain:{}'.format(hash), self.domains[0]) r_serv_onion.sadd('screenshot_domain:{}'.format(hash), self.domains[0])
if 'har' in response.data: if 'har' in response.data: