From 4934a269a9bdb4766dadc8cd7c6333a24ce2c05e Mon Sep 17 00:00:00 2001 From: Sunpy Date: Thu, 24 May 2018 12:24:54 +0200 Subject: [PATCH] Bumped failed_streak --- scrape.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrape.py b/scrape.py index e5d48bf..4d34ffb 100644 --- a/scrape.py +++ b/scrape.py @@ -62,6 +62,6 @@ while not finished: extra_sleep = attempts print("target: {}, status: FAILED, attempt: {}".format(target, attempts)) time.sleep(config["scrape"]["delay"] + extra_sleep) - if failed_streak > 10: + if failed_streak > 100: exit() memory["scrape"]["last"] = target \ No newline at end of file