style edits

This commit is contained in:
Daniel Valenzuela
2020-10-15 00:35:40 -04:00
parent 3d2d002971
commit 7cee69eea6

View File

@@ -110,8 +110,8 @@ class Url:
else: else:
archive_url = data["archived_snapshots"]["closest"]["url"] archive_url = data["archived_snapshots"]["closest"]["url"]
archive_url = archive_url.replace( archive_url = archive_url.replace(
"http://web.archive.org/web/", "http://web.archive.org/web/",
"https://web.archive.org/web/", "https://web.archive.org/web/",
1 1
) )
@@ -126,7 +126,7 @@ class Url:
else: else:
time = datetime.strptime(data["archived_snapshots"] time = datetime.strptime(data["archived_snapshots"]
["closest"] ["closest"]
["timestamp"], ["timestamp"],
'%Y%m%d%H%M%S') '%Y%m%d%H%M%S')
return time return time