Exceptions¶
Custom errors you can expect.
-
exception
savepagenow.exceptions.BadGateway¶ Bases:
savepagenow.exceptions.WaybackRuntimeErrorRaised when you receive a 502 bad gateway status code.
-
exception
savepagenow.exceptions.BlockedByRobots¶ Bases:
savepagenow.exceptions.WaybackRuntimeErrorRaised when archive.org has been blocked by the site’s robots.txt.
-
exception
savepagenow.exceptions.CachedPage¶ Bases:
ExceptionRaised when archive.org declines to make a new capture and instead returns the cached version of most recent archive.
-
exception
savepagenow.exceptions.Forbidden¶ Bases:
savepagenow.exceptions.WaybackRuntimeErrorRaised when you receive a 403 forbidden status code.
-
exception
savepagenow.exceptions.TooManyRequests¶ Bases:
savepagenow.exceptions.WaybackRuntimeErrorRaised when you have exceeded the throttle on request frequency.
Bases:
savepagenow.exceptions.WaybackRuntimeErrorRaised when you receive a 401 unauthorized status code.
-
exception
savepagenow.exceptions.UnknownError¶ Bases:
savepagenow.exceptions.WaybackRuntimeErrorRaised when you receive a 520 unknown status code.
-
exception
savepagenow.exceptions.WaybackRuntimeError¶ Bases:
ExceptionA generic error returned by the Wayback Machine.