From 75352df2969660e852ee5447a709f4220c1c5fb8 Mon Sep 17 00:00:00 2001 From: eggplants Date: Fri, 4 Feb 2022 08:24:04 +0900 Subject: [PATCH] fix: error message --- waybackpy/save_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waybackpy/save_api.py b/waybackpy/save_api.py index 849c7bd..fb70874 100644 --- a/waybackpy/save_api.py +++ b/waybackpy/save_api.py @@ -142,7 +142,7 @@ class WaybackMachineSaveAPI(object): regex = r"https?://web\.archive.org/web/([0-9]{14})/http" m = re.search(regex, str(self._archive_url)) if m is None or len(m.groups()) != 1: - raise ValueError("Could not find get timestamp") + raise ValueError("Could not get timestamp") string_timestamp = m.group(1) timestamp = datetime.strptime(string_timestamp, "%Y%m%d%H%M%S")