Fixed summary parsing error for the http://voracity2.e-fic.com/ adapter

This commit is contained in:
cryzed 2014-06-06 23:09:59 +02:00
parent eba312e777
commit f4da7dc1bd

View file

@ -134,7 +134,7 @@ class Voracity2EficComAdapter(BaseSiteAdapter):
# e-fiction sites that allow their users to include
# arbitrary markup into their summaries and the
# horrible HTML markup.
if sibling.name == 'b' and all(sibling.name == 'br' for sibling in sibling.findPreviousSiblings(limit=2)):
if sibling.name == 'b' and sibling.findPreviousSibling().name == 'br':
break
if keep_summary_html: