File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,9 @@ def request(url):
70
70
return response
71
71
except _urllib .error .URLError as err_msg :
72
72
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 ""
74
76
SKIPPED_URLS += 1
75
77
76
78
@@ -254,6 +256,8 @@ def crawler(url):
254
256
if SKIPPED_URLS == 0 :
255
257
print (settings .SINGLE_WHITESPACE )
256
258
259
+ if not settings .VERBOSITY_LEVEL >= 2 :
260
+ print ""
257
261
info_msg = "Visited " + str (len (output_href )) + " link" + "s" [len (output_href ) == 1 :] + "."
258
262
print (settings .print_info_msg (info_msg ))
259
263
filename = store_crawling ()
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ def sys_argv_errors():
216
216
DESCRIPTION = "The command injection exploiter"
217
217
AUTHOR = "Anastasios Stasinopoulos"
218
218
VERSION_NUM = "3.3"
219
- REVISION = "37 "
219
+ REVISION = "38 "
220
220
STABLE_RELEASE = False
221
221
if STABLE_RELEASE :
222
222
VERSION = "v" + VERSION_NUM + "-stable"
You can’t perform that action at this time.
0 commit comments