def ShowResults(newlist,num_files,target,output,option,captcha):
if option == 1:
print "Files into the target "+target+" are:\n"
if captcha == False:
print "Files indexed:", len (url_google)
for i in url_google:
#if i not in url_google:
newlist.append(i)
print i
else: ##Catpcha == True, try results of Bing
print "Files indexed:", len (urls_final)
for i in urls_final:
#if i not in url_google:
newlist.append(i)
print i
else:
#option ==2
print "ShowResults outside target"
print "Files outside target "+target+" are:\n"
print "Files indexed:", len (url_google)
for i in url_google:
#if i not in url_google:
newlist.append(i)
print i
#verify if the user wants to export results
if (output == 'Y') or (output =='y'):
#Only it can enter if -j is put in the execution
ExportResults(newlist)
#Call to function to download the files
Downloadfiles(newlist,output)
#MAIN
评论列表
文章目录