mirror of https://github.com/CIRCL/AIL-framework
fix: [Crawler] fix screenshot-domain map
parent
66f251d654
commit
363801fff7
|
@ -203,7 +203,7 @@ class TorSplashCrawler():
|
||||||
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(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:
|
if 'har' in response.data:
|
||||||
dirname = os.path.dirname(filename_har)
|
dirname = os.path.dirname(filename_har)
|
||||||
|
|
Loading…
Reference in New Issue