Open fabelx opened 2 years ago
I see the same with the domain_lookup
example:
$ python domain_lookup.py
Traceback (most recent call last):
File "/home/fab/Documents/repos/spyse-python/examples/domain_lookup.py", line 8, in <module>
d = client.get_domain_details('tesla.com')
File "/home/fab/Documents/repos/spyse-python/spyse/client.py", line 157, in get_domain_details
response.check_errors()
File "/home/fab/Documents/repos/spyse-python/spyse/response.py", line 117, in check_errors
raise RateLimitError(m)
spyse.response.RateLimitError: too many requests
It looks like that the limiter doesn't cover the first requests (self.account = self.get_quotas()
) and the actual request for the data comes to fast.
Traceback:
Python 3.9.9