Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SecretShell committed Nov 7, 2019
1 parent 37f8c46 commit 3be31fb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions StartDatascraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down Expand Up @@ -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
Expand All @@ -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")

0 comments on commit 3be31fb

Please sign in to comment.