From 459e1c69120b29eebf179d878778ed0d1f8fb212 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Mon, 22 Nov 2021 00:24:12 -0500 Subject: [PATCH] [+] Display requests per minute --- src/raw_collect/twitter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/raw_collect/twitter.py b/src/raw_collect/twitter.py index c1661c3..4220257 100644 --- a/src/raw_collect/twitter.py +++ b/src/raw_collect/twitter.py @@ -227,6 +227,7 @@ def download_users_execute(api: API, n: float, base_dir: str, rate_limit: int, print(f"Executing friends-chain download:") print(f"- n: {n}") + print(f"- Requests per minute: {rate_limit}") print(f"- Directory: {base_dir}") print(f"- Downloaded: {len(downloaded)}") print(f"- Current search set: {current_set}") @@ -317,4 +318,5 @@ def convert_to_generic(username: str, tweet: Tweet) -> Posting: if __name__ == '__main__': conf = load_config('config.json5') api = tweepy_login(conf) + # download_users_start(api, 'sauricat') download_users_resume_progress(api)