From 3be31fbcd13f36e3906a0512b159ccd8227e387e Mon Sep 17 00:00:00 2001 From: CRIMINAL Date: Thu, 7 Nov 2019 16:39:35 +0000 Subject: [PATCH] Fix --- StartDatascraper.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/StartDatascraper.py b/StartDatascraper.py index 821cea2fb..522a69097 100644 --- a/StartDatascraper.py +++ b/StartDatascraper.py @@ -50,7 +50,6 @@ json_auth = json_sites[site_name]["auth"] json_site_settings = json_sites[site_name]["settings"] auto_scrape_all = json_site_settings["auto_scrape_all"] - only_links = json_site_settings["auto_scrape_all"] session = "" x = "" app_token = "" @@ -80,7 +79,7 @@ names = array[0] if names: print("Names: "+array[1]) - if not scrape_all: + if not auto_scrape_all: value = int(input().strip()) else: value = 0 @@ -103,6 +102,6 @@ x.download_media(*arg) stop_time = str(int(timeit.default_timer() - start_time) / 60) print('Task Completed in ' + stop_time + ' Minutes') - time.sleep(5) + time.sleep(6) except KeyboardInterrupt as e: print("Exiting Script")