Skip to content

Commit 03d4184

Browse files
committed
Minor update
1 parent cd056d0 commit 03d4184

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/utils/crawler.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ def request(url):
7070
return response
7171
except _urllib.error.URLError as err_msg:
7272
err_msg = str(err_msg) + " - Skipping " + str(url)
73-
print(settings.print_critical_msg(err_msg))
73+
sys.stdout.write(settings.print_critical_msg(err_msg))
74+
if settings.VERBOSITY_LEVEL >= 2:
75+
print ""
7476
SKIPPED_URLS += 1
7577

7678

@@ -254,6 +256,8 @@ def crawler(url):
254256
if SKIPPED_URLS == 0:
255257
print(settings.SINGLE_WHITESPACE)
256258

259+
if not settings.VERBOSITY_LEVEL >= 2:
260+
print ""
257261
info_msg = "Visited " + str(len(output_href)) + " link"+ "s"[len(output_href) == 1:] + "."
258262
print(settings.print_info_msg(info_msg))
259263
filename = store_crawling()

src/utils/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def sys_argv_errors():
216216
DESCRIPTION = "The command injection exploiter"
217217
AUTHOR = "Anastasios Stasinopoulos"
218218
VERSION_NUM = "3.3"
219-
REVISION = "37"
219+
REVISION = "38"
220220
STABLE_RELEASE = False
221221
if STABLE_RELEASE:
222222
VERSION = "v" + VERSION_NUM + "-stable"

0 commit comments

Comments
 (0)