From 0029d63d8a62cd5a00be6c86348cd80ea14c14e6 Mon Sep 17 00:00:00 2001 From: akamhy <64683866+akamhy@users.noreply.github.com> Date: Wed, 6 May 2020 19:22:56 +0530 Subject: [PATCH] 503 API Service Temporarily Unavailable --- waybackpy/exceptions.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/waybackpy/exceptions.py b/waybackpy/exceptions.py index 800938f..5d3bec6 100644 --- a/waybackpy/exceptions.py +++ b/waybackpy/exceptions.py @@ -32,6 +32,11 @@ class BadGateWay(Exception): Raised when 502 bad gateway. """ +class WaybackUnavailable(Exception): + """ + Raised when 503 API Service Temporarily Unavailable. + """ + class InvalidUrl(Exception): """ Raised when url doesn't follow the standard url format.