seomoz/dragnet — pull request #4 by matt-peters (2012-10-09 16:09:11+00:00)
Title: Bug fixes for some degenerate input cases + unit tests

Handle the cases where:

(1) lxml can't parse the document (raise a BlockifyError in this case)
(2) the document has less then three blocks. return all content in this case