Skip to content

Commit

Permalink
v4.8 - see CHANGELOG.md for details
Browse files Browse the repository at this point in the history
  • Loading branch information
xnl-h4ck3r committed Dec 31, 2024
1 parent ed75caf commit 513499d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Changelog

- v4.8

- Changed

- BUG FIX: When downloading responses and creating the file name, sometimes the file extension is incorrectly derived and has `/` in it, e.g. `5146045725697.well-known/openid-configuration`, and this causes the writing of the file to fail. If the derived extension does contain `/` then it will be reset to blank, and determined a different way.

- v4.7

- New
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<center><img src="https://github.com/xnl-h4ck3r/waymore/blob/main/waymore/images/title.png"></center>

## About - v4.7
## About - v4.8

The idea behind **waymore** is to find even more links from the Wayback Machine than other existing tools.

Expand Down
2 changes: 1 addition & 1 deletion waymore/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__="4.7"
__version__="4.8"
3 changes: 3 additions & 0 deletions waymore/waymore.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,9 @@ def processArchiveUrl(url):
parsed = urlparse(targetUrl.strip())
path = parsed.path
extension = path[path.rindex('.')+1:]
# If there is a / in the extension then it's not the extension at all, so reset to blank
if '/' in extension:
extension = ''
except:
pass

Expand Down

0 comments on commit 513499d

Please sign in to comment.