Commit 03ec232f authored by Ian Dennis Miller's avatar Ian Dennis Miller

private social nets

parent 518930ee
Pipeline #270 passed with stage
in 14 seconds
......@@ -124,6 +124,10 @@ class Downloader:
except TwythonRateLimitError:
success = False
self.wait_for_reset()
except TwythonAuthError as e:
success = True
response = []
logging.info("Returned 401; Timeline is private")
for status in response:
self.snapshot.add_status_to_graph(subject, status)
......@@ -152,6 +156,12 @@ class Downloader:
)
next_cursor = response["next_cursor"]
success = True
except TwythonAuthError as e:
success = True
next_cursor = False
response = []
response["users"] = []
logging.info("Returned 401; Social net is private")
except TwythonError as e:
print(e)
time.sleep(15)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment