Skip to content

Commit

Permalink
v1.16 - see CHANGELOG.md for details
Browse files Browse the repository at this point in the history
  • Loading branch information
xnl-h4ck3r committed Feb 22, 2023
1 parent 617ecd0 commit c21a772
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Changelog

- v1.16

- Changed
- Fix a bug that raises `ERROR processURLOutput 6: [Errno 2] No such file or directory: ''` if the value passed to `-oU` has no directory specified as part of the file name.

- v1.15

- Changed
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 - v1.15
## About - v1.16

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

Expand Down
9 changes: 5 additions & 4 deletions waymore.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,10 +759,11 @@ def processURLOutput():
filenameOld = filename + '.old'
# If the filename has any "/" in it, remove the contents after the last one to just get the path and create the directories if necessary
try:
f = os.path.basename(filename)
p = filename[:-(len(f))-1]
if p != '' and not os.path.exists(p):
os.makedirs(p)
if filename.find('/') > 0:
f = os.path.basename(filename)
p = filename[:-(len(f))-1]
if p != '' and not os.path.exists(p):
os.makedirs(p)
except Exception as e:
if verbose():
writerr(colored('ERROR processURLOutput 6: ' + str(e), 'red'))
Expand Down
2 changes: 1 addition & 1 deletion waymore/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__="1.15"
__version__="1.16"

0 comments on commit c21a772

Please sign in to comment.