fixed a bug in DOM scanning while crawling

This commit is contained in:
Somdev Sangwan
2018-10-31 12:28:42 +05:30
committed by GitHub
parent 15179d9886
commit ad71505327
3 changed files with 64 additions and 53 deletions

View File

@@ -23,8 +23,9 @@ def dom(response, silent=False):
num += 1
if highlighted and not silent:
print (red + ('-' * 60) + end)
result = True
for line in highlighted:
print (line)
print (red + ('-' * 60) + end)
if highlighted:
result = True
return result