generated from Hazel/python-project
implemented waiting
This commit is contained in:
parent
b7245e29b5
commit
a575134abc
@ -6,7 +6,7 @@ from . import cache
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
c = Connection(cache_enable=False, request_delay=3)
|
c = Connection(cache_enable=False, request_delay=3, rate_limit_status_codes={200})
|
||||||
c.generate_headers()
|
c.generate_headers()
|
||||||
|
|
||||||
print(c.get("http://ip.org/"))
|
print(c.get("http://ip.org/"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user