Skip to content

Commit

Permalink
v1.2 - see CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xnl-h4ck3r committed Dec 11, 2023
1 parent a5e94ab commit 53040b2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Changelog

- v1.2

- Changed

- Changes to prevent `SyntaxWarning: invalid escape sequence` errors when Python 3.12 is used.

- v1.1

- 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/urless/blob/main/urless/images/title.png"></center>

## About - v1.1
## About - v1.2

This is a tool used to de-clutter a list of URLs.
As a starting point, I took the amazing tool [uro](https://github.com/s0md3v/uro/) by Somdev Sangwan. But I wanted to change a few things, make some improvements (like deal with GUIDs) and make it more customizable.
Expand Down
2 changes: 1 addition & 1 deletion urless/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__="1.1"
__version__="1.2"
14 changes: 7 additions & 7 deletions urless/urless.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
REGEX_END = '$'

# Regex for a path folder of integer
REGEX_INTEGER = REGEX_START + '\d+' + REGEX_END
REGEX_INTEGER = REGEX_START + r'\d+' + REGEX_END
reIntPart = re.compile(REGEX_INTEGER)
patternsInt = {}

Expand All @@ -46,7 +46,7 @@
patternsCustomID = {}

# Regex for path of YYYY/MM
REGEX_YYYYMM = '\/[1|2][0|1|9]\\d{2}/[0|1]\\d{1}\/'
REGEX_YYYYMM = r'\/[1|2][0|1|9]\\d{2}/[0|1]\\d{1}\/'
reYYYYMM = re.compile(REGEX_YYYYMM)

# Regex for path of language code
Expand Down Expand Up @@ -83,11 +83,11 @@ def writerr(text=''):

def showBanner():
write('')
write(colored(' __ _ ____ _ ___ ___ ____ ', 'red'))
write(colored(' | | | | _ \| | / _ \/ __/ __/ ', 'yellow'))
write(colored(' | | | | |_) | || __/\__ \__ \ ', 'green'))
write(colored(' | |_| | _ <| |_\___/\___/___/ ', 'cyan'))
write(colored(' \___/|_| \_\___/', 'magenta')+colored('by Xnl-h4ck3r','white'))
write(colored(r' __ _ ____ _ ___ ___ ____ ', 'red'))
write(colored(r' | | | | _ \| | / _ \/ __/ __/ ', 'yellow'))
write(colored(r' | | | | |_) | || __/\__ \__ \ ', 'green'))
write(colored(r' | |_| | _ <| |_\___/\___/___/ ', 'cyan'))
write(colored(r' \___/|_| \_\___/', 'magenta')+colored('by Xnl-h4ck3r','white'))
write('')

def getConfig():
Expand Down

0 comments on commit 53040b2

Please sign in to comment.