Fixes #1184869 Ensures that there is text in the anchor tag

This commit is contained in:
Philip Ridout 2013-08-02 22:15:52 +01:00
parent 3ec0337649
commit a37ae5880f

View File

@ -375,6 +375,7 @@ class BSExtract(object):
content = content.findAll(u'li')
return [
book.contents[0].contents[0] for book in content
if len(book.contents[0].contents)
]