From 0c3ccb4e7cee80ca8c792a907e233b6b8dd0e9e2 Mon Sep 17 00:00:00 2001 From: cryzed Date: Sun, 8 Jun 2014 22:31:33 +0200 Subject: [PATCH] Removed superfluous code --- fanficdownloader/adapters/adapter_fanfichu.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/fanficdownloader/adapters/adapter_fanfichu.py b/fanficdownloader/adapters/adapter_fanfichu.py index c4d132c1..3bc45f0a 100644 --- a/fanficdownloader/adapters/adapter_fanfichu.py +++ b/fanficdownloader/adapters/adapter_fanfichu.py @@ -95,14 +95,11 @@ class FanficHuAdapter(BaseSiteAdapter): if query_data['sid'] == story_id: break - title = title_anchor.string - self.story.setMetadata('title', title) - if not chapter_options: - self.chapterUrls.append((title, self.url)) + self.story.setMetadata('title', title_anchor.string) rows = table('tr') - anchors = rows[0].div('a') + anchors = rows[0].div('a') author_anchor = anchors[1] query_data = _get_query_data(author_anchor['href']) self.story.setMetadata('author', author_anchor.string)