From af1f8c6d8b835893e05e35a0dc1b4f048c17a95d Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 13 Sep 2019 12:03:59 +1000 Subject: [PATCH] warn about rate limit --- scrape.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scrape.py b/scrape.py index 350ac6a..35d48cb 100644 --- a/scrape.py +++ b/scrape.py @@ -78,6 +78,7 @@ def scrape_posts(account): if r.status_code == 429: # we are now being ratelimited, move on to the next user + print("Hit rate limit while scraping {}".format(handle)) done = True else: j = r.json()