Skip to content

Commit

Permalink
Merge pull request #112 from akamhy/fix
Browse files Browse the repository at this point in the history
escape '.' before 'archive.org'
  • Loading branch information
akamhy authored Jan 21, 2022
2 parents fa72098 + 5e9fdb4 commit 4fd9d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waybackpy/save_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def sleep(self, tries):

def timestamp(self):
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)
timestamp = datetime.strptime(string_timestamp, "%Y%m%d%H%M%S")
Expand Down

0 comments on commit 4fd9d14

Please sign in to comment.