From 09290f88d130b0d73f5bf2e3fa079c53dd5cb91f Mon Sep 17 00:00:00 2001 From: Akash Mahanty Date: Sun, 24 Jan 2021 16:58:53 +0530 Subject: [PATCH] fix one more error --- waybackpy/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waybackpy/wrapper.py b/waybackpy/wrapper.py index acc2388..77add29 100644 --- a/waybackpy/wrapper.py +++ b/waybackpy/wrapper.py @@ -161,7 +161,7 @@ class Url: instance=self, ) - m = re.search(r"https?://web.archive.org/web/([0-9]{14})/http", archive_url) + m = re.search(r"https?://web.archive.org/web/([0-9]{14})/http", self._archive_url) str_ts = m.group(1) ts = datetime.strptime(str_ts, "%Y%m%d%H%M%S") now = datetime.utcnow()