Apply byte->str conversion to recursive call
This commit is contained in:
parent
09fbc27054
commit
4fd2420e05
|
@ -305,7 +305,7 @@ def _extract_waf(content, base_url, scraper, results = None, depth=0):
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(six.text_type(e))
|
print(six.text_type(e))
|
||||||
continue
|
continue
|
||||||
_extract_waf(content, new_url, scraper, results, new_depth)
|
_extract_waf(six.text_type(content), new_url, scraper, results, new_depth)
|
||||||
continue
|
continue
|
||||||
if not url.endswith('.xml'):
|
if not url.endswith('.xml'):
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue