From ca9186c301a83a8b96814cda1565b9ef895ccdd2 Mon Sep 17 00:00:00 2001 From: Akash <64683866+akamhy@users.noreply.github.com> Date: Sun, 9 Aug 2020 10:43:16 +0530 Subject: [PATCH] update message, sometimes raised for poor performance by wayback machine even if the url is archived. --- waybackpy/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waybackpy/wrapper.py b/waybackpy/wrapper.py index 849f4dc..1317ac0 100644 --- a/waybackpy/wrapper.py +++ b/waybackpy/wrapper.py @@ -140,7 +140,7 @@ class Url: data = json.loads(response.read().decode("UTF-8")) if not data["archived_snapshots"]: raise WaybackError( - "'%s' is not yet archived. Use wayback.Url(url, user_agent).save() " + "Can not find archive for '%s' try later or use wayback.Url(url, user_agent).save() " "to create a new archive." % self._clean_url() ) archive_url = data["archived_snapshots"]["closest"]["url"]