soft404 icon indicating copy to clipboard operation
soft404 copied to clipboard

pages with missing body tags break the probability() function

Open shahsparx opened this issue 6 years ago • 1 comments

import soft404 soft404.probability('<html><head><title>hola</title></head></html>')

AttributeError: 'NoneType' object has no attribute 'tag'

shahsparx avatar Aug 05 '19 14:08 shahsparx

@shahsparx This is fixed via https://github.com/dogancanbakir/soft-404/commit/d7779c077c51c437933eced4d1165ecfe7d9e20c

dogancanbakir avatar Jul 02 '20 11:07 dogancanbakir