Version 0.4.4
This release makes some small fixes to rate limits and retries in order to better match with the current behavior of Wayback Machine servers:
-
Updates the
WaybackClient.search
rate limit to 1 call per second (it was previously 1.5 per second). (#140) -
Delays retries for 60 seconds when receiving rate limit errors from the server. (#142)
-
Adds more logging around requests and rate limiting. This should make it easier to debug future rate limit issues. (#139)
-
Fixes calculation of the
time
attribute onwayback.exceptions.WaybackRetryError
. It turns out it was only accounting for the time spent waiting between retries and skipping the time waiting for the server to respond! (#142) -
Fixes some spots where we leaked HTTP connections during retries or during exception handling. (#142)
The next minor release (v0.5) will almost certainly include some bigger changes to how rate limits and retries are handled.