escape '.' before 'archive.org'
escape '.' before 'archive.org' on line 88 so it does not match more hosts than expected.
This commit is contained in:
parent
fa72098270
commit
5e9fdb40ce
@ -85,7 +85,7 @@ class WaybackMachineSaveAPI:
|
|||||||
|
|
||||||
def timestamp(self):
|
def timestamp(self):
|
||||||
m = re.search(
|
m = re.search(
|
||||||
r"https?://web.archive.org/web/([0-9]{14})/http", self._archive_url
|
r"https?://web\.archive.org/web/([0-9]{14})/http", self._archive_url
|
||||||
)
|
)
|
||||||
string_timestamp = m.group(1)
|
string_timestamp = m.group(1)
|
||||||
timestamp = datetime.strptime(string_timestamp, "%Y%m%d%H%M%S")
|
timestamp = datetime.strptime(string_timestamp, "%Y%m%d%H%M%S")
|
||||||
|
Loading…
Reference in New Issue
Block a user