[+] Implement download all tweets

This commit is contained in:
Hykilpikonna
2021-11-22 12:20:14 -05:00
parent 4099b2d4fd
commit b5c02ef702
2 changed files with 56 additions and 30 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ def calculate_rate_delay(rate_limit: float) -> float:
:param rate_limit: Rate limit in requests per minute
:return: Rate delay in seconds per request (added one second just to be safe)
"""
return 1 / rate_limit * 60 + 1
return 1 / rate_limit * 60
class EnhancedJSONEncoder(json.JSONEncoder):