fix: [crawler] typo: splash restart

This commit is contained in:
Terrtia 2021-04-01 10:24:29 +02:00
parent c76986de05
commit 99e5b3d4f1
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -208,7 +208,7 @@ def crawl_onion(url, domain, port, type_service, message, crawler_config):
if nb_retry == 2: if nb_retry == 2:
crawlers.restart_splash_docker(splash_url, splash_name) crawlers.restart_splash_docker(splash_url, splash_name)
time.spleep(20) time.sleep(20)
if nb_retry == 6: if nb_retry == 6:
on_error_send_message_back_in_queue(type_service, domain, message) on_error_send_message_back_in_queue(type_service, domain, message)