From c8c96937cc9dbe025f59ddd5e499b19fd5c233cb Mon Sep 17 00:00:00 2001 From: Sunil D S Date: Fri, 17 Apr 2020 20:06:40 +0530 Subject: [PATCH] crawler_time -> crawler_delta --- bin/lib/crawlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/lib/crawlers.py b/bin/lib/crawlers.py index 6e876349..71a62499 100755 --- a/bin/lib/crawlers.py +++ b/bin/lib/crawlers.py @@ -446,8 +446,8 @@ def api_create_crawler_task(user_id, url, screenshot=True, har=True, depth_limit if auto_crawler: try: - crawler_time = int(crawler_time) - if crawler_time < 0: + crawler_delta = int(crawler_delta) + if crawler_delta < 0: return ({'error':'invalid delta bettween two pass of the crawler'}, 400) except ValueError: return ({'error':'invalid delta bettween two pass of the crawler'}, 400)