Removed superfluous code

This commit is contained in:
cryzed 2014-06-08 22:31:33 +02:00
parent e8904ec061
commit 0c3ccb4e7c

View file

@ -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)