From f4da7dc1bdfd636bdb983d4f71ddb62d47731908 Mon Sep 17 00:00:00 2001 From: cryzed Date: Fri, 6 Jun 2014 23:09:59 +0200 Subject: [PATCH] Fixed summary parsing error for the http://voracity2.e-fic.com/ adapter --- fanficdownloader/adapters/adapter_voracity2eficcom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fanficdownloader/adapters/adapter_voracity2eficcom.py b/fanficdownloader/adapters/adapter_voracity2eficcom.py index 8ae580f6..11f6a834 100644 --- a/fanficdownloader/adapters/adapter_voracity2eficcom.py +++ b/fanficdownloader/adapters/adapter_voracity2eficcom.py @@ -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: