-
-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting same error on 2 different machine on both python 2.7 & 3.6 #21
Comments
Tried with python 3.6 & 3.7 same error on different machine . |
Thank you for the report. Can you provide me with the domain you ran the scan on? You can DM it to me on Twitter, I'll keep it private and only use it to attempt to reproduce the issue. |
Sure check your twitter :D Also I get below error for python2.7 :-
|
Thanks, bug reproduced. Should be fixed in latest master. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Traceback (most recent call last):
File "cloudflair.py", line 166, in
main(args.domain, args.output_file, censys_api_id, censys_api_secret)
File "cloudflair.py", line 137, in main
origins = find_origins(domain, hosts)
File "cloudflair.py", line 127, in find_origins
page_similarity = similarity(response.text, original_response.text)
File "/usr/local/lib/python2.7/site-packages/html_similarity/similarity.py", line 6, in similarity
return k * structural_similarity(document_1, document_2) + (1 - k) * style_similarity(document_1, document_2)
File "/usr/local/lib/python2.7/site-packages/html_similarity/structural_similarity.py", line 29, in structural_similarity
tags1 = get_tags(document_1)
File "/usr/local/lib/python2.7/site-packages/html_similarity/structural_similarity.py", line 10, in get_tags
for el in doc.getroot().iter():
AttributeError: 'NoneType' object has no attribute 'iter'
The text was updated successfully, but these errors were encountered: