Skip to content

Commit

Permalink
Update main_datascraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
UltimaHoarder committed Dec 21, 2020
1 parent 45f31a9 commit 78a0a8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion datascraper/main_datascraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def start_datascraper(json_config, site_name_lower,apis:list=[]):
else:
identifiers = []
auto_profile_choice = json_site_settings["auto_profile_choice"]
apis = []
subscription_array = []
original_sessions = []
original_sessions = api_helper.create_session(
Expand All @@ -48,6 +47,9 @@ def start_datascraper(json_config, site_name_lower,apis:list=[]):
if not apis:
apis = main_helper.process_profiles(
json_settings, original_sessions, site_name, original_api)
else:
for api in apis:
api.sessions = original_sessions
subscription_array = []
auth_count = -1
jobs = json_site_settings["jobs"]
Expand Down

0 comments on commit 78a0a8c

Please sign in to comment.