From e03db701851382b8b89950ebeb3b70ae7c41932a Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Thu, 1 Nov 2012 10:24:23 -0500 Subject: [PATCH] Change summary td to div in thehexfiles.net for table titlepages. --- fanficdownloader/adapters/adapter_thehexfilesnet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fanficdownloader/adapters/adapter_thehexfilesnet.py b/fanficdownloader/adapters/adapter_thehexfilesnet.py index c191df7..e079784 100644 --- a/fanficdownloader/adapters/adapter_thehexfilesnet.py +++ b/fanficdownloader/adapters/adapter_thehexfilesnet.py @@ -147,6 +147,7 @@ class TheHexFilesNetAdapter(BaseSiteAdapter): self.story.setMetadata('status', 'In-Progress') summary = info.find('td', {'class' : 'summary'}) + summary.name='div' # change td to div so it doesn't mess up the display when using table titlepage. self.setDescription(url,summary) rating=stripHTML(info.find('td', {'align' : 'left'})).split('(')[1].split(')')[0]