mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
possible workaround
This commit is contained in:
parent
260dee748c
commit
2a6a8df0bc
1 changed files with 9 additions and 5 deletions
|
|
@ -414,11 +414,15 @@ def parse_search_results(query, url_to_search, verbose=False, **kwargs):
|
|||
"did not find any URLs with given query '{}' writing query to blacklist".format(query), level=50
|
||||
))
|
||||
write_to_log_file(query, BLACKLIST_FILE_PATH, BLACKLIST_FILENAME, blacklist=True)
|
||||
shutdown()
|
||||
logger.info(set_color(
|
||||
"found a total of {} URLs with given query '{}'".format(len(true_retval), query)
|
||||
))
|
||||
return list(true_retval) if len(true_retval) != 0 else None
|
||||
|
||||
if len(true_retval) == 0:
|
||||
logger.warning("no URLs doscivered with provided query")
|
||||
return None
|
||||
else:
|
||||
logger.info(set_color(
|
||||
"found a total of {} URLs with given query '{}'".format(len(true_retval), query)
|
||||
))
|
||||
return list(true_retval)
|
||||
|
||||
|
||||
def search_multiple_pages(query, link_amount, verbose=False, **kwargs):
|
||||
|
|
|
|||
Loading…
Reference in a new issue