From 7cee69eea68775c57596229470cd4e5d54222dfb Mon Sep 17 00:00:00 2001 From: Daniel Valenzuela Date: Thu, 15 Oct 2020 00:35:40 -0400 Subject: [PATCH] style edits --- waybackpy/wrapper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/waybackpy/wrapper.py b/waybackpy/wrapper.py index 20d1ffe..49e5f30 100644 --- a/waybackpy/wrapper.py +++ b/waybackpy/wrapper.py @@ -110,8 +110,8 @@ class Url: else: archive_url = data["archived_snapshots"]["closest"]["url"] archive_url = archive_url.replace( - "http://web.archive.org/web/", - "https://web.archive.org/web/", + "http://web.archive.org/web/", + "https://web.archive.org/web/", 1 ) @@ -126,7 +126,7 @@ class Url: else: time = datetime.strptime(data["archived_snapshots"] ["closest"] - ["timestamp"], + ["timestamp"], '%Y%m%d%H%M%S') return time